public class JavaDocHelper extends Object
parseJavaDoc(JavaClass, GenericType, String)
Modifier and Type | Field and Description |
---|---|
protected com.thoughtworks.qdox.JavaProjectBuilder |
builder |
static String |
JAVADOC_JAVAEE_URL
JavaDoc URL for Java Enterprise Edition.
|
static String |
JAVADOC_JAVASE_URL
JavaDoc URL for Java Standard Edition.
|
Constructor and Description |
---|
JavaDocHelper(ClassLoader classloader,
com.thoughtworks.qdox.JavaProjectBuilder builder,
List<JavaDocDescriptor> javaDocs)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getQualifiedName(com.thoughtworks.qdox.model.JavaSource source,
String simpleName) |
String |
parseJavaDoc(com.thoughtworks.qdox.model.JavaClass sourceType,
net.sf.mmm.util.reflect.api.GenericType<?> byteType,
String javadoc)
Parses JavaDoc and resolves tags such as @link, @linkplain, @literal, @value, or @code.
|
public static final String JAVADOC_JAVASE_URL
public static final String JAVADOC_JAVAEE_URL
protected final com.thoughtworks.qdox.JavaProjectBuilder builder
public JavaDocHelper(ClassLoader classloader, com.thoughtworks.qdox.JavaProjectBuilder builder, List<JavaDocDescriptor> javaDocs)
classloader
- the ClassLoader
used to load byte-code classes dynamically.builder
- the JavaProjectBuilder
for source-code analysis.javaDocs
- the configured List
of JavaDocDescriptor
s.public String getQualifiedName(com.thoughtworks.qdox.model.JavaSource source, String simpleName)
source
- the JavaSource
.simpleName
- the simple name
of a class.qualified name
of the class.public String parseJavaDoc(com.thoughtworks.qdox.model.JavaClass sourceType, net.sf.mmm.util.reflect.api.GenericType<?> byteType, String javadoc)
sourceType
- the JavaClass
from source-code analysis.byteType
- the GenericType
from byte-code analysis.javadoc
- the JavaDoc comment to parse.Copyright © 2015–2021 MojoHaus. All rights reserved.