public class JavadocConverter extends Object
IrDocComment models into Java DOM models.| Constructor and Description |
|---|
JavadocConverter(ModelFactory factory)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Javadoc |
convert(String content,
int offset)
Analyzes the documentation comment string and returns the corresponded
Javadoc object. |
public JavadocConverter(ModelFactory factory)
factory - the Java DOM factoryIllegalArgumentException - if the parameter is nullpublic Javadoc convert(String content, int offset) throws JavadocParseException
Javadoc object.content - the documentation contentoffset - the starting character offset of the comment string in the compilation unitJavadocParseException - if the documentation comment is malformedIllegalArgumentException - if the parameter is nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.