public class SimpleAnnotationValue extends AnnotationValue
ANNOTATION, ARRAY, CLASS, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, valueKind
Constructor and Description |
---|
SimpleAnnotationValue(int kind) |
SimpleAnnotationValue(int kind,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
void |
setValueByte(byte b) |
void |
setValueChar(char c) |
void |
setValueInt(int i) |
void |
setValueString(java.lang.String s) |
java.lang.String |
stringify() |
java.lang.String |
toString() |
whatKindIsThis
public SimpleAnnotationValue(int kind)
public SimpleAnnotationValue(int kind, java.lang.Object value)
public void setValueString(java.lang.String s)
public void setValueByte(byte b)
public void setValueChar(char c)
public void setValueInt(int i)
public java.lang.String stringify()
stringify
in class AnnotationValue
public java.lang.String toString()
toString
in class java.lang.Object