| org.codehaus.aspectwerkz.annotation.instrumentation.AttributeEnhancer
All known Subclasses: org.codehaus.aspectwerkz.annotation.instrumentation.asm.AsmAttributeEnhancer,
AttributeEnhancer | public interface AttributeEnhancer (Code) | | Enhances a classes with attributes.
author: Jonas BonŽr |
CUSTOM_ATTRIBUTE | final public static String CUSTOM_ATTRIBUTE(Code) | | The name of the AspectWerkz custom attributes.
|
getNearestInterfacesInHierarchy | 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 | 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 | void insertClassAttribute(Object attribute)(Code) | | Inserts an attribute on class level.
Parameters: attribute - the attribute |
insertConstructorAttribute | void insertConstructorAttribute(JavaMethod method, Object attribute)(Code) | | Inserts an attribute on constructor level.
Parameters: method - the QDox java method Parameters: attribute - the attribute |
insertFieldAttribute | void insertFieldAttribute(JavaField field, Object attribute)(Code) | | Inserts an attribute on field level.
Parameters: field - the QDox java field Parameters: attribute - the attribute |
insertMethodAttribute | void insertMethodAttribute(JavaMethod method, Object attribute)(Code) | | Inserts an attribute on method level.
Parameters: method - the QDox java method Parameters: attribute - the attribute |
write | void write(String destDir)(Code) | | Writes the enhanced class to file.
Parameters: destDir - the destination directory |
|
|