How to determine class type in static initialization block
posted 10 years ago
Is there a way to determine the class type, i.e. retrieve a Class object for the class being loade, in static initialization block? I want to use reflection to determine if my subclasses have certain capabilities. I know the proper way to do this would be to use interfaces but, for backwards compatibility, that is not possible at this time.
author and iconoclast