Package org.teavm.model
Class AnnotationValue
- java.lang.Object
-
- org.teavm.model.AnnotationValue
-
public class AnnotationValue extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AnnotationValue(boolean value)AnnotationValue(byte value)AnnotationValue(char value)AnnotationValue(double value)AnnotationValue(float value)AnnotationValue(int value)AnnotationValue(long value)AnnotationValue(short value)AnnotationValue(java.lang.String value)AnnotationValue(java.util.List<AnnotationValue> value)AnnotationValue(AnnotationReader value)AnnotationValue(FieldReference value)AnnotationValue(ValueType value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationReadergetAnnotation()booleangetBoolean()bytegetByte()chargetChar()doublegetDouble()FieldReferencegetEnumValue()floatgetFloat()intgetInt()ValueTypegetJavaClass()java.util.List<AnnotationValue>getList()longgetLong()shortgetShort()java.lang.StringgetString()bytegetType()
-
-
-
Field Detail
-
BOOLEAN
public static final byte BOOLEAN
- See Also:
- Constant Field Values
-
BYTE
public static final byte BYTE
- See Also:
- Constant Field Values
-
SHORT
public static final byte SHORT
- See Also:
- Constant Field Values
-
INT
public static final byte INT
- See Also:
- Constant Field Values
-
LONG
public static final byte LONG
- See Also:
- Constant Field Values
-
FLOAT
public static final byte FLOAT
- See Also:
- Constant Field Values
-
DOUBLE
public static final byte DOUBLE
- See Also:
- Constant Field Values
-
STRING
public static final byte STRING
- See Also:
- Constant Field Values
-
CLASS
public static final byte CLASS
- See Also:
- Constant Field Values
-
LIST
public static final byte LIST
- See Also:
- Constant Field Values
-
ENUM
public static final byte ENUM
- See Also:
- Constant Field Values
-
ANNOTATION
public static final byte ANNOTATION
- See Also:
- Constant Field Values
-
CHAR
public static final byte CHAR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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
public AnnotationValue(java.lang.String value)
-
AnnotationValue
public AnnotationValue(ValueType value)
-
AnnotationValue
public AnnotationValue(java.util.List<AnnotationValue> value)
-
AnnotationValue
public AnnotationValue(AnnotationReader value)
-
AnnotationValue
public AnnotationValue(FieldReference value)
-
-
Method Detail
-
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
public java.lang.String getString()
-
getJavaClass
public ValueType getJavaClass()
-
getList
public java.util.List<AnnotationValue> getList()
-
getEnumValue
public FieldReference getEnumValue()
-
getAnnotation
public AnnotationReader getAnnotation()
-
getType
public byte getType()
-
-