Use EnhancedAnnotatedType instead of reflection
Removed System.out.println in tests
Corrected javadoc