|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeEnhancer
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 |
|---|
static final String CUSTOM_ATTRIBUTE
| Method Detail |
|---|
boolean initialize(String className,
URL[] classPath)
className - the class nameclassPath - the class path
void insertClassAttribute(Object attribute)
attribute - the attribute
void insertFieldAttribute(com.thoughtworks.qdox.model.JavaField field,
Object attribute)
field - the QDox java fieldattribute - the attribute
void insertConstructorAttribute(com.thoughtworks.qdox.model.JavaMethod method,
Object attribute)
method - the QDox java methodattribute - the attribute
void insertMethodAttribute(com.thoughtworks.qdox.model.JavaMethod method,
Object attribute)
method - the QDox java methodattribute - the attributevoid write(String destDir)
destDir - the destination directoryString[] getNearestInterfacesInHierarchy(String innerClassName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||