Description
The class-based, as opposed to signature-based. portion of AnnotationFinder is rather difficult to test, but I have been able to create a failing test case. The issue is that Annotatable(AnnotatedElement) calls the AnnotationInfo constructor using the classname of the annotationType which, in turn, calls ASM's Type.getType(String); however, this method wants a type descriptor (the method's Javadoc actually says "a field or method type descriptor"). Calling AnnotationInfo(Class) instead solves the problem.