|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.backport175.compiler.javadoc.JavaDocParser
public class JavaDocParser
Parses and retrieves annotations from the JavaDoc in Java source files.
| Constructor Summary | |
|---|---|
JavaDocParser()
|
|
| Method Summary | |
|---|---|
void |
addClassLoaderToSearchPath(java.lang.ClassLoader loader)
Adds the given ClassLoader to the search path |
void |
addSource(java.lang.String srcFile)
Adds a source file. |
void |
addSourceTrees(java.lang.String[] srcDirs)
Adds a source tree to the builder. |
JavaClass[] |
getJavaClasses()
Returns all classes. |
static RawAnnotation |
getRawAnnotation(java.lang.Class annotationClass,
java.lang.String annotationName,
DocletTag tag,
java.lang.String enclosingClassName,
java.lang.String enclosingClassFileName)
Extract the raw information of the annotation, the "content" inside the parenthesis). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaDocParser()
| Method Detail |
|---|
public void addClassLoaderToSearchPath(java.lang.ClassLoader loader)
loader - public void addSourceTrees(java.lang.String[] srcDirs)
srcDirs - the source treespublic void addSource(java.lang.String srcFile)
srcFile - the source filepublic JavaClass[] getJavaClasses()
public static RawAnnotation getRawAnnotation(java.lang.Class annotationClass,
java.lang.String annotationName,
DocletTag tag,
java.lang.String enclosingClassName,
java.lang.String enclosingClassFileName)
annotationClass - annotationName - tag - enclosingClassName - enclosingClassFileName -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||