This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Field and Description |
|---|---|
| protected static final Context. | |
| pack-priv static final Integer | |
| pack-priv static final Integer | |
| private Symtab | |
| pack-priv static final Integer |
| Modifier and Type | Method and Description |
|---|---|
| private static strictfp Integer | |
| pack-priv strictfp Type | |
| private static strictfp double | |
| private static strictfp float | |
| pack-priv strictfp Type | fold1(int
The operation's opcode instruction (usually a byte code),
as entered by class Symtab.
opcode's ifeq to ifge are for postprocessing
xcmp; ifxx pairs of instructions. opcode, Type The operation's operand type.
Argument types are assumed to have non-null constValue's. operand)Fold unary operation. |
| pack-priv strictfp Type | fold2(int
The operation's opcode instruction (usually a byte code),
as entered by class Symtab.
opcode's ifeq to ifge are for postprocessing
xcmp; ifxx pairs of instructions. opcode, Type The type of the operation's left operand. left, Type The type of the operation's right operand. right)Fold binary operation. |
| public static strictfp ConstFold | |
| private static strictfp int | |
| private static strictfp long |
| constFoldKey | back to summary |
|---|---|
| protected static final Context. | |
| minusOne | back to summary |
|---|---|
| pack-priv static final Integer minusOne | |
| one | back to summary |
|---|---|
| pack-priv static final Integer one | |
| syms | back to summary |
|---|---|
| private Symtab syms | |
| zero | back to summary |
|---|---|
| pack-priv static final Integer zero | |
| ConstFold | back to summary |
|---|---|
| private strictfp ConstFold(Context context) | |
| b2i | back to summary |
|---|---|
| private static strictfp Integer b2i(boolean b) Convert boolean to integer (true = 1, false = 0). | |
| coerce | back to summary |
|---|---|
| pack-priv strictfp Type coerce(Type etype, Type ttype) Coerce constant type to target type. | |
| doubleValue | back to summary |
|---|---|
| private static strictfp double doubleValue(Object x) | |
| floatValue | back to summary |
|---|---|
| private static strictfp float floatValue(Object x) | |
| fold1 | back to summary |
|---|---|
| pack-priv strictfp Type fold1(int opcode, Type operand) Fold unary operation.
| |
| fold2 | back to summary |
|---|---|
| pack-priv strictfp Type fold2(int opcode, Type left, Type right) Fold binary operation. | |
| instance | back to summary |
|---|---|
| public static strictfp ConstFold instance(Context context) | |
| intValue | back to summary |
|---|---|
| private static strictfp int intValue(Object x) | |
| longValue | back to summary |
|---|---|
| private static strictfp long longValue(Object x) | |