public class AnnotationDescParser extends Object
AnnotationDescPrinter
Constructor and Description |
---|
AnnotationDescParser(String annotationString) |
Modifier and Type | Method and Description |
---|---|
protected Annotation |
buildRootAnnotation(TypeDesc rootAnnotationType)
Override this method if a root annotation is not provided, as it must be
built after parsing the root annotation type.
|
Annotation |
parse(Annotation rootAnnotation)
Parses the given annotation, returning the root annotation that received
the results.
|
public AnnotationDescParser(String annotationString)
annotationString
- annotation to parsepublic Annotation parse(Annotation rootAnnotation)
rootAnnotation
- root annotationIllegalArgumentExcecption
- if annotation is malformedprotected Annotation buildRootAnnotation(TypeDesc rootAnnotationType)
Copyright © 2004-2015 Cojen. All Rights Reserved.