net.vidageek.mirror.reflect.dsl
Interface MemberHandler

All Known Implementing Classes:
DefaultMemberHandler

public interface MemberHandler


Method Summary
<T extends java.lang.annotation.Annotation>
T
annotation(java.lang.Class<T> annotation)
          Use this method to reflect a single annotation from the AccessibleObject
 

Method Detail

annotation

<T extends java.lang.annotation.Annotation> T annotation(java.lang.Class<T> annotation)
Use this method to reflect a single annotation from the AccessibleObject

Parameters:
annotation - Annotation type to be reflected.
Returns:
The annotation or null if it was not found.
See Also:
AnnotatedElementReflectionProvider.getAnnotation(Class)


Copyright © 2009 VidaGeek.net. All Rights Reserved.