public class JavaDocParser
extends java.lang.Object
Constructor and Description |
---|
JavaDocParser() |
Modifier and Type | Method and Description |
---|---|
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).
|
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
-