|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClassReflectionProvider<T>
Interface that defines reflection operations related to class
| Method Summary | |
|---|---|
List<Constructor<T>> |
reflectAllConstructors()
Method used to reflect all constructor on the wrapped class. |
List<Field> |
reflectAllFields()
Method used to reflect all fields on the wrapped class. |
List<Method> |
reflectAllMethods()
Method used to reflect all methods on the wrapped class. |
Class<T> |
reflectClass()
Method used to gain access to the class wrapped. |
Constructor<T> |
reflectConstructor(Class<?>[] argumentTypes)
Method used to reflect a single constructor matching argumentTypes. |
Field |
reflectField(String fieldName)
This method is used to reflect a single field named fieldName |
Method |
reflectMethod(String methodName,
Class<?>[] argumentTypes)
This method is used to reflect a single method named methodName and with args argumentTypes |
| Method Detail |
|---|
Class<T> reflectClass()
ClassReflectionProvider
ReflectionProviderExceptionField reflectField(String fieldName)
fieldName - Name of the field to be reflected
ReflectionProviderException
Method reflectMethod(String methodName,
Class<?>[] argumentTypes)
methodName - name of the method to be reflected.argumentTypes - argument types of the method to be reflected.
ReflectionProviderExceptionConstructor<T> reflectConstructor(Class<?>[] argumentTypes)
argumentTypes - argument types of the constructor to be reflected.
ReflectionProviderExceptionList<Field> reflectAllFields()
ReflectionProviderExceptionList<Method> reflectAllMethods()
ReflectionProviderExceptionList<Constructor<T>> reflectAllConstructors()
ReflectionProviderException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||