net.vidageek.mirror.reflect.dsl
Interface MethodAnnotationHandler<T extends java.lang.annotation.Annotation>

All Known Implementing Classes:
DefaultMethodAnnotationHandler

public interface MethodAnnotationHandler<T extends java.lang.annotation.Annotation>


Method Summary
 T withArgs(java.lang.Class<?>... classes)
          Use this method to reflect a single annotation at the method that matches classes as its arguments.
 T withoutArgs()
          This is a convenience method for withArgs(Class...)
 

Method Detail

withArgs

T withArgs(java.lang.Class<?>... classes)
Use this method to reflect a single annotation at the method that matches classes as its arguments.

Parameters:
classes - arguments of the method from where to search for annotations.
Returns:
The annotation or null if it was not found.
See Also:
AnnotatedElementReflectionProvider#getAnnotation(Class)

withoutArgs

T withoutArgs()
This is a convenience method for withArgs(Class...)

See Also:
withArgs(Class...)


Copyright © 2009 VidaGeek.net. All Rights Reserved.