|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Methods that should be implemented in order to extract attributes associate with a class.
An implementation this class needs to be provided for each bytecode manipulation library or other meta-data storage mechanism that is supported.
| Field Summary | |
static Object[] |
EMPTY_OBJECT_ARRAY
|
| Method Summary | |
Object[] |
getClassAttributes()
Retreives attributes associated with the class. |
Object[] |
getConstructorAttributes(String[] constructorParamTypes)
Return all the attributes associated with a constructor that have a particular method signature. |
Object[] |
getFieldAttributes(String fieldName)
Retreives custom attributes applied to a specific field of the class. |
Object[] |
getMethodAttributes(String methodName,
String[] methodParamTypes)
Retreives custom attributes applied to a specific method of the class. |
| Field Detail |
public static final Object[] EMPTY_OBJECT_ARRAY
| Method Detail |
public Object[] getClassAttributes()
public Object[] getMethodAttributes(String methodName,
String[] methodParamTypes)
methodName - The name of the method.methodParamTypes - The signature of the method.
public Object[] getConstructorAttributes(String[] constructorParamTypes)
constructorParamTypes - An array of parameter types as given by the reflection api.
public Object[] getFieldAttributes(String fieldName)
fieldName - the name of a class field.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||