how can I remove generic type from class using refactoring
Introduce a superclass
public class TimeIntCoSup extends TimeValueCo<Integer> {
}
and change TimeIntCo
to extend it.
public class TimeIntCo<T> extends TimeIntCoSup {
}
Then use Eclipse's Refactor -> Use Supertype Where Possible
Just do a textual find/replace TimeIntCo<Integer>
-> TimeIntCo
on all java classes.