|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReflectionHandler<T>
This part of the DSL is used to choose reflection element is going to be reflected.
| Method Summary | ||
|---|---|---|
|
annotation(Class<A> annotation)
Use this method to reflect annotations. |
|
ConstructorReflector<T> |
constructor()
Use this method to reflect a constructor |
|
Field |
field(String fieldName)
Use this method to reflect a field by its name. |
|
MethodReflector |
method(String methodName)
Use this method to choose the name of the method to reflect. |
|
ParameterizedElementHandler |
parentGenericType()
|
|
| Method Detail |
|---|
Field field(String fieldName)
fieldName - Name of the field to be reflected.
IllegalArgumentException - if fieldName is null or emptyDefaultFieldReflector.onClass(Class)MethodReflector method(String methodName)
methodName - name of the method to be reflected
IllegalArgumentException - if methodName is null or emptyDefaultMethodReflectorConstructorReflector<T> constructor()
DefaultConstructorReflector<A> AnnotationHandler<? extends A> annotation(Class<A> annotation)
annotation - Type of the annotation to be reflected.
AnnotationHandlerParameterizedElementHandler parentGenericType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||