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