class class1<T> {
...
}
class class2<T extends SomeType> extends class1<T> {
...
}
public class Class1<T> {
public void Run(T another){
//TODO Do something with another
}
}
public class Class2<T extends Synker> extends Class1<T> {
}
Class2<Synker> cl = new Class2<>();
cl.Run(new Synker());