public class AnnotationInfo extends Object implements Serializable
| Constructor and Description |
|---|
AnnotationInfo(String annotationType)
Constructs a new AnnotationInfo.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationInfo |
addAnnotationValueInfo(AnnotationValueInfo annotationValueInfo)
Adds a parameter to the annotation.
|
String |
getAnnotationType()
Returns the type of the annotation.
|
List<AnnotationValueInfo> |
getAnnotationValueInfos()
Returns the parameters of the annotation.
|
String |
toString() |
public AnnotationInfo(String annotationType)
annotationType - the type of the annotationpublic AnnotationInfo addAnnotationValueInfo(AnnotationValueInfo annotationValueInfo)
annotationValueInfo - the parameterpublic String getAnnotationType()
public List<AnnotationValueInfo> getAnnotationValueInfos()
Copyright © 2015. All rights reserved.