|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Enhances a classes with attributes.
| Field Summary | |
static String |
CUSTOM_ATTRIBUTE
The name of the AspectWerkz custom attributes. |
| Method Summary | |
String[] |
getNearestInterfacesInHierarchy(String innerClassName)
Return the first interfaces implemented by a level in the class hierarchy (bottom top). |
boolean |
initialize(String className,
URL[] classPath)
Initializes the attribute enhancer. |
void |
insertClassAttribute(Object attribute)
Inserts an attribute on class level. |
void |
insertConstructorAttribute(com.thoughtworks.qdox.model.JavaMethod method,
Object attribute)
Inserts an attribute on constructor level. |
void |
insertFieldAttribute(com.thoughtworks.qdox.model.JavaField field,
Object attribute)
Inserts an attribute on field level. |
void |
insertMethodAttribute(com.thoughtworks.qdox.model.JavaMethod method,
Object attribute)
Inserts an attribute on method level. |
void |
write(String destDir)
Writes the enhanced class to file. |
| Field Detail |
public static final String CUSTOM_ATTRIBUTE
| Method Detail |
public boolean initialize(String className,
URL[] classPath)
className - the class nameclassPath - the class path
public void insertClassAttribute(Object attribute)
attribute - the attribute
public void insertFieldAttribute(com.thoughtworks.qdox.model.JavaField field,
Object attribute)
field - the QDox java fieldattribute - the attribute
public void insertConstructorAttribute(com.thoughtworks.qdox.model.JavaMethod method,
Object attribute)
method - the QDox java methodattribute - the attribute
public void insertMethodAttribute(com.thoughtworks.qdox.model.JavaMethod method,
Object attribute)
method - the QDox java methodattribute - the attributepublic void write(String destDir)
destDir - the destination directorypublic String[] getNearestInterfacesInHierarchy(String innerClassName)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||