I already asked this and it was a messed up description so:
I have a class
private Class MyClass<T extends SomeClass> //where SomeClass is an abstract class
{
SomeClass T=new SomeClass(); //Something like that but which works
}
I want to somehow instantiate T or call a method of it perhaps using casting since SomeClass is abstract and the above is invalid