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

All Known Implementing Classes:
DefaultMethodAnnotationHandler

public interface MethodAnnotationHandler<T extends Annotation>


Method Summary
 T withArgs(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(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 © 2011 VidaGeek.net. All Rights Reserved.