Package org.teavm.model
Class AnnotationValue
java.lang.Object
org.teavm.model.AnnotationValue
-
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
-
Constructor Summary
ConstructorDescriptionAnnotationValue
(boolean value) AnnotationValue
(byte value) AnnotationValue
(char value) AnnotationValue
(double value) AnnotationValue
(float value) AnnotationValue
(int value) AnnotationValue
(long value) AnnotationValue
(short value) AnnotationValue
(String value) AnnotationValue
(List<AnnotationValue> value) AnnotationValue
(AnnotationReader value) AnnotationValue
(FieldReference value) AnnotationValue
(ValueType value) -
Method Summary
-
Field Details
-
BOOLEAN
public static final byte BOOLEAN- See Also:
-
BYTE
public static final byte BYTE- See Also:
-
SHORT
public static final byte SHORT- See Also:
-
INT
public static final byte INT- See Also:
-
LONG
public static final byte LONG- See Also:
-
FLOAT
public static final byte FLOAT- See Also:
-
DOUBLE
public static final byte DOUBLE- See Also:
-
STRING
public static final byte STRING- See Also:
-
CLASS
public static final byte CLASS- See Also:
-
LIST
public static final byte LIST- See Also:
-
ENUM
public static final byte ENUM- See Also:
-
ANNOTATION
public static final byte ANNOTATION- See Also:
-
CHAR
public static final byte CHAR- See Also:
-
-
Constructor Details
-
AnnotationValue
public AnnotationValue(boolean value) -
AnnotationValue
public AnnotationValue(byte value) -
AnnotationValue
public AnnotationValue(char value) -
AnnotationValue
public AnnotationValue(short value) -
AnnotationValue
public AnnotationValue(int value) -
AnnotationValue
public AnnotationValue(long value) -
AnnotationValue
public AnnotationValue(float value) -
AnnotationValue
public AnnotationValue(double value) -
AnnotationValue
-
AnnotationValue
-
AnnotationValue
-
AnnotationValue
-
AnnotationValue
-
-
Method Details
-
getBoolean
public boolean getBoolean() -
getChar
public char getChar() -
getByte
public byte getByte() -
getShort
public short getShort() -
getInt
public int getInt() -
getLong
public long getLong() -
getFloat
public float getFloat() -
getDouble
public double getDouble() -
getString
-
getJavaClass
-
getList
-
getEnumValue
-
getAnnotation
-
getType
public byte getType()
-