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