This question already has an answer here: Is there a way to refer to the current type with a type variable? 5 answers I have had a bit of a problem a few times where I want to do something like this: interface MyInterface { public Validator<this.class> getValidator(); } class MyInstance implements MyInterface { public […]
The post Can you reference ‘this’ class as a generic parameter? [duplicate] appeared first on BlogoSfera.