public final class AnnotationParser extends Object
| Constructor and Description |
|---|
AnnotationParser(String input,
boolean expectDocNoise)
Creates a parser for a given input text.
|
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationElement.Annotation> |
parse()
Parse the text and extract the annotations.
|
public AnnotationParser(String input, boolean expectDocNoise)
input - the input text to parseexpectDocNoise - indicates if human readable text is expected to be encountered before the annotationspublic List<AnnotationElement.Annotation> parse() throws AnnotationParserException
AnnotationParserException - if syntax errors are encounteredCopyright © 2020 JBoss, a division of Red Hat. All rights reserved.