I have a utility that scans different classes in the classpath, and checks for unused classes.
Some classes need special treatment, like interfaces and abstract classes. Those can be easily identified using reflection. The problem arises when trying to identify a class that is an annotation class (i.e. @interface). Is it possible to know if a class is really an annotation?