| java.lang.Object org.codehaus.aspectwerkz.annotation.AnnotationManager
AnnotationManager | public AnnotationManager(ClassLoader loader)(Code) | | Constructs a new annotation manager and had the given ClassLoader to the
search path
Parameters: loader - |
addSource | public void addSource(String srcFile)(Code) | | Adds a source file.
Parameters: srcFile - the source file |
addSourceTrees | public void addSourceTrees(String[] srcDirs)(Code) | | Adds a source tree to the builder.
Parameters: srcDirs - the source trees |
getAllClasses | public JavaClass[] getAllClasses()(Code) | | Returns all classes.
an array with all classes |
getAnnotations | public Annotation[] getAnnotations(String name, JavaClass clazz)(Code) | | Returns the annotations with a specific name for a specific class.
Parameters: name - Parameters: clazz - an array with the annotations |
getAnnotations | public Annotation[] getAnnotations(String name, JavaMethod method)(Code) | | Returns the annotations with a specific name for a specific method.
Parameters: name - Parameters: method - an array with the annotations |
getAnnotations | public Annotation[] getAnnotations(String name, JavaField field)(Code) | | Returns the annotations with a specific name for a specific field.
Parameters: name - Parameters: field - an array with the annotations |
instantiateNestedAnnotation | public static Annotation instantiateNestedAnnotation(Class annotationClass, Map elements)(Code) | | Instantiate an annotation given its interface and elements
It is used only for nested annotation hence requires typed annotation
without nicknames.
TODO: Note: should we support nicked name nested ?
If so grammar needs to track annotation name
|
registerAnnotationProxy | public void registerAnnotationProxy(Class proxyClass, String docletName)(Code) | | Register an annotation together with its proxy implementation under
a doclet name
Parameters: proxyClass - the proxy class Parameters: docletName - the name of the doclet. The annotation name is the proxy FQN. |
|
|