net.vidageek.mirror.reflect.dsl
Interface AllAnnotationsHandler

All Known Implementing Classes:
DefaultAllAnnotationsHandler

public interface AllAnnotationsHandler


Method Summary
 List<Annotation> atClass()
          Use this method to reflect all annotations at clazz.
 List<Annotation> atField(String fieldName)
          Use this method to reflect all annotations at field fieldName.
 AllMethodAnnotationsHandler atMethod(String methodName)
          Use this method to reflect all annotations at method.
 

Method Detail

atClass

List<Annotation> atClass()
Use this method to reflect all annotations at clazz.

Returns:
A list containing all annotations found at clazz.
See Also:
AnnotatedElementReflectionProvider.getAnnotations()

atField

List<Annotation> atField(String fieldName)
Use this method to reflect all annotations at field fieldName.

Parameters:
fieldName - Name of the field from where to search for annotations.
Returns:
A list containing all annotations found at field.
See Also:
AnnotatedElementReflectionProvider.getAnnotations()

atMethod

AllMethodAnnotationsHandler atMethod(String methodName)
Use this method to reflect all annotations at method.

Parameters:
methodName - Name of the method from where to search for annotations.
Returns:
An object responsible for reflecting annotations at method.


Copyright © 2011 VidaGeek.net. All Rights Reserved.