I have a public abstract class and I\'m trying to use the getClass() method, as I will need info from the class extending my abstract class. An example is this:
getClass()
Another working workaround is to generate a helper method to get the Class:
public Class> type() { return super.getClass(); }
or a static reusable util:
public static final Class> type(Object object) { return object.getClass(); }