|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.codehaus.aspectwerkz.annotation.instrumentation.javassist.JavassistAttributeExtractor
Javassist implementation of the AttributeExtractor interface. Extracts attributes from the class file on class, method and field level.
| Field Summary |
| Fields inherited from interface org.codehaus.aspectwerkz.annotation.instrumentation.AttributeExtractor |
EMPTY_OBJECT_ARRAY |
| Constructor Summary | |
JavassistAttributeExtractor()
|
|
| Method Summary | |
Object[] |
getClassAttributes()
Returns the class attributes. |
Object[] |
getConstructorAttributes(String[] constructorParamTypes)
Return all the attributes associated with a constructor that have a particular method signature. |
Object[] |
getFieldAttributes(String fieldName)
Return all the attributes associated with a field. |
Object[] |
getMethodAttributes(Method method)
|
Object[] |
getMethodAttributes(String methodName,
String[] methodParamTypes)
Return all the attributes associated with a method that have a particular method signature. |
void |
initialize(javassist.CtClass ctClass)
Open the classfile and parse it in to the Javassist library. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JavassistAttributeExtractor()
| Method Detail |
public void initialize(javassist.CtClass ctClass)
ctClass - the classpublic Object[] getClassAttributes()
getClassAttributes in interface AttributeExtractorpublic Object[] getMethodAttributes(Method method)
public Object[] getMethodAttributes(String methodName,
String[] methodParamTypes)
getMethodAttributes in interface AttributeExtractormethodName - The name of the method.methodParamTypes - An array of parameter types as given by the reflection api.
public Object[] getConstructorAttributes(String[] constructorParamTypes)
getConstructorAttributes in interface AttributeExtractorconstructorParamTypes - An array of parameter types as given by the reflection api.
public Object[] getFieldAttributes(String fieldName)
getFieldAttributes in interface AttributeExtractorfieldName - The name of the field.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||