public class AnnotationInfo extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
annotationType |
private List<AnnotationValueInfo> |
annotationValueInfos |
private static long |
serialVersionUID |
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() |
private static final long serialVersionUID
private final String annotationType
private final List<AnnotationValueInfo> annotationValueInfos
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.