Package org.teavm.model
Class RuntimeConstant
java.lang.Object
org.teavm.model.RuntimeConstant
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final byte -
Constructor Summary
ConstructorsConstructorDescriptionRuntimeConstant(double value) RuntimeConstant(float value) RuntimeConstant(int value) RuntimeConstant(long value) RuntimeConstant(String value) RuntimeConstant(DynamicConstant value) RuntimeConstant(MethodHandle value) RuntimeConstant(ValueType value) RuntimeConstant(ValueType[] methodType) -
Method Summary
-
Field Details
-
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:
-
TYPE
public static final byte TYPE- See Also:
-
METHOD
public static final byte METHOD- See Also:
-
METHOD_HANDLE
public static final byte METHOD_HANDLE- See Also:
-
DYNAMIC_CONSTANT
public static final byte DYNAMIC_CONSTANT- See Also:
-
-
Constructor Details
-
RuntimeConstant
public RuntimeConstant(int value) -
RuntimeConstant
public RuntimeConstant(long value) -
RuntimeConstant
public RuntimeConstant(float value) -
RuntimeConstant
public RuntimeConstant(double value) -
RuntimeConstant
-
RuntimeConstant
-
RuntimeConstant
-
RuntimeConstant
-
RuntimeConstant
-
-
Method Details
-
getKind
public byte getKind() -
getInt
public int getInt() -
getLong
public long getLong() -
getFloat
public float getFloat() -
getDouble
public double getDouble() -
getString
-
getValueType
-
getMethodType
-
getMethodHandle
-
getDynamicConstant
-