public static class SClassReader.AnnotationInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
type
Fully qualified type.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
values
Annotations nested in this annotation.
|
Modifier | Constructor and Description |
---|---|
protected |
AnnotationInfo(java.lang.String type)
Creates the info.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addValue(java.lang.String name,
java.lang.Object value)
Adds a value.
|
java.lang.String |
getType() |
java.lang.Object |
getValue(java.lang.String name)
Returns a contained value.
|
java.util.Map<java.lang.String,java.lang.Object> |
getValues()
Returns the contained values.
|
java.lang.String |
toString()
Get the string representation.
|
protected java.lang.String type
protected java.util.Map<java.lang.String,java.lang.Object> values
protected AnnotationInfo(java.lang.String type)
type
- Annotation type.public java.lang.String getType()
public java.lang.Object getValue(java.lang.String name)
public java.util.Map<java.lang.String,java.lang.Object> getValues()
protected void addValue(java.lang.String name, java.lang.Object value)
name
- Name of the value.value
- The value.public java.lang.String toString()
toString
in class java.lang.Object