Package abc
Class ClassWithConstants
- java.lang.Object
-
- abc.ClassWithConstants
-
public class ClassWithConstants extends Object
Used for testing that compile-time constant field initializers are preserved in extension class code gen. Necessary since the Java compiler substitutes the field refs with the constant values.
-
-
Field Summary
Fields Modifier and Type Field Description static booleanBOOL_VALUE1static booleanBOOL_VALUE2static booleanBOOL_VALUE3static byteBYTE_VALUE1static byteBYTE_VALUE2static charCHAR_VALUE1static charCHAR_VALUE2static charCHAR_VALUE3static charCHAR_VALUE4static doubleDOUBLE_VALUE1static doubleDOUBLE_VALUE2static floatFLOAT_VALUE1static floatFLOAT_VALUE2static floatFLOAT_VALUE3static intINT_VALUE1static intINT_VALUE2static intINT_VALUE3static intINT_VALUE4static longLONG_VALUE1static longLONG_VALUE2static ClassWithConstantsOBJ_VALUE1static ClassWithConstantsOBJ_VALUE2static shortSHORT_VALUE1static shortSHORT_VALUE2static shortSHORT_VALUE3static StringSTRING_VALUE0static StringSTRING_VALUE1static StringSTRING_VALUE2static StringSTRING_VALUE3static StringSTRING_VALUE4
-
Constructor Summary
Constructors Constructor Description ClassWithConstants()
-
-
-
Field Detail
-
BOOL_VALUE1
public static final boolean BOOL_VALUE1
- See Also:
- Constant Field Values
-
BOOL_VALUE2
public static final boolean BOOL_VALUE2
- See Also:
- Constant Field Values
-
BOOL_VALUE3
public static final boolean BOOL_VALUE3
-
BYTE_VALUE1
public static final byte BYTE_VALUE1
- See Also:
- Constant Field Values
-
BYTE_VALUE2
public static final byte BYTE_VALUE2
-
SHORT_VALUE1
public static final short SHORT_VALUE1
- See Also:
- Constant Field Values
-
SHORT_VALUE2
public static final short SHORT_VALUE2
- See Also:
- Constant Field Values
-
SHORT_VALUE3
public static final short SHORT_VALUE3
-
INT_VALUE1
public static final int INT_VALUE1
- See Also:
- Constant Field Values
-
INT_VALUE2
public static final int INT_VALUE2
- See Also:
- Constant Field Values
-
INT_VALUE3
public static final int INT_VALUE3
- See Also:
- Constant Field Values
-
INT_VALUE4
public static final int INT_VALUE4
-
LONG_VALUE1
public static final long LONG_VALUE1
- See Also:
- Constant Field Values
-
LONG_VALUE2
public static final long LONG_VALUE2
-
FLOAT_VALUE1
public static final float FLOAT_VALUE1
- See Also:
- Constant Field Values
-
FLOAT_VALUE2
public static final float FLOAT_VALUE2
- See Also:
- Constant Field Values
-
FLOAT_VALUE3
public static final float FLOAT_VALUE3
-
DOUBLE_VALUE1
public static final double DOUBLE_VALUE1
- See Also:
- Constant Field Values
-
DOUBLE_VALUE2
public static final double DOUBLE_VALUE2
-
CHAR_VALUE1
public static final char CHAR_VALUE1
- See Also:
- Constant Field Values
-
CHAR_VALUE2
public static final char CHAR_VALUE2
- See Also:
- Constant Field Values
-
CHAR_VALUE3
public static final char CHAR_VALUE3
- See Also:
- Constant Field Values
-
CHAR_VALUE4
public static final char CHAR_VALUE4
-
STRING_VALUE0
public static final String STRING_VALUE0
-
STRING_VALUE1
public static final String STRING_VALUE1
- See Also:
- Constant Field Values
-
STRING_VALUE2
public static final String STRING_VALUE2
- See Also:
- Constant Field Values
-
STRING_VALUE3
public static final String STRING_VALUE3
- See Also:
- Constant Field Values
-
STRING_VALUE4
public static final String STRING_VALUE4
-
OBJ_VALUE1
public static final ClassWithConstants OBJ_VALUE1
-
OBJ_VALUE2
public static final ClassWithConstants OBJ_VALUE2
-
-