|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.vidageek.mirror.reflect.DefaultReflectionHandler<T>
public final class DefaultReflectionHandler<T>
This part of the DSL is used to choose reflection element is going to be reflected.
| Constructor Summary | |
|---|---|
DefaultReflectionHandler(ReflectionProvider provider,
Class<T> clazz)
|
|
| 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()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultReflectionHandler(ReflectionProvider provider,
Class<T> clazz)
| Method Detail |
|---|
public Field field(String fieldName)
ReflectionHandler
field in interface ReflectionHandler<T>fieldName - Name of the field to be reflected.
DefaultFieldReflector.onClass(Class)public MethodReflector method(String methodName)
ReflectionHandler
method in interface ReflectionHandler<T>methodName - name of the method to be reflected
DefaultMethodReflectorpublic ConstructorReflector<T> constructor()
ReflectionHandler
constructor in interface ReflectionHandler<T>DefaultConstructorReflectorpublic <A> AnnotationHandler<? extends A> annotation(Class<A> annotation)
ReflectionHandler
annotation in interface ReflectionHandler<T>annotation - Type of the annotation to be reflected.
AnnotationHandlerpublic ParameterizedElementHandler parentGenericType()
parentGenericType in interface ReflectionHandler<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||