| java.lang.Object org.codehaus.aspectwerkz.annotation.instrumentation.asm.AsmAttributeEnhancer
getNearestInterfacesInHierarchy | public String[] getNearestInterfacesInHierarchy(String innerClassName)(Code) | | Return the first interfaces implemented by a level in the class hierarchy (bottom top)
nearest superclass (including itself) implemented interfaces |
initialize | public boolean initialize(String className, URL[] classPath)(Code) | | Initializes the attribute enhancer. Must always be called before use.
Parameters: className - the class name Parameters: classPath - the class path true if the class was succefully loaded, false otherwise |
insertClassAttribute | public void insertClassAttribute(Object attribute)(Code) | | Inserts an attribute on class level.
Parameters: attribute - the attribute |
insertConstructorAttribute | public void insertConstructorAttribute(JavaMethod constructor, Object attribute)(Code) | | Inserts an attribute on constructor level.
Parameters: constructor - the QDox java method Parameters: attribute - the attribute |
insertFieldAttribute | public void insertFieldAttribute(JavaField field, Object attribute)(Code) | | Inserts an attribute on field level.
Parameters: field - the QDox java field Parameters: attribute - the attribute |
insertMethodAttribute | public void insertMethodAttribute(JavaMethod method, Object attribute)(Code) | | Inserts an attribute on method level.
Parameters: method - the QDox java method Parameters: attribute - the attribute |
serialize | public static byte[] serialize(Object attribute)(Code) | | Serializes the attribute to byte array.
Parameters: attribute - the attribute the attribute as a byte array |
write | public void write(String destDir)(Code) | | Writes the enhanced class to file.
Parameters: destDir - the destination directory |
|
|