Package proguard.evaluation.value
Class CompositeIntegerValue
java.lang.Object
proguard.evaluation.value.Value
proguard.evaluation.value.Category1Value
proguard.evaluation.value.IntegerValue
proguard.evaluation.value.SpecificIntegerValue
proguard.evaluation.value.CompositeIntegerValue
This
IntegerValue represents the result of a binary operation on two integer values.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final byteFields inherited from class proguard.evaluation.value.Value
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionCompositeIntegerValue(IntegerValue integerValue1, byte operation, IntegerValue integerValue2) Creates a new composite integer value of the two given integer values and the given operation. -
Method Summary
Methods inherited from class proguard.evaluation.value.SpecificIntegerValue
add, add, add, and, and, and, convertToByte, convertToCharacter, convertToDouble, convertToFloat, convertToLong, convertToShort, divide, divide, divide, divideOf, divideOf, divideOf, equal, equal, equal, generalize, generalize, generalize, isSpecific, lessThan, lessThan, lessThan, lessThanOrEqual, lessThanOrEqual, lessThanOrEqual, multiply, multiply, multiply, negate, or, or, or, remainder, remainder, remainder, remainderOf, remainderOf, remainderOf, shiftLeft, shiftLeft, shiftLeft, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftRight, shiftRight, shiftRight, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, subtract, subtract, subtract, subtractFrom, subtractFrom, subtractFrom, unsignedShiftRight, unsignedShiftRight, unsignedShiftRight, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, xor, xor, xorMethods inherited from class proguard.evaluation.value.IntegerValue
add, add, and, and, computationalType, divide, divide, divideOf, divideOf, equal, equal, generalize, generalize, generalize, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, integerValue, internalType, lessThan, lessThan, lessThanOrEqual, lessThanOrEqual, multiply, multiply, notEqual, notEqual, notEqual, notEqual, notEqual, or, or, remainder, remainder, remainderOf, remainderOf, shiftLeft, shiftLeft, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftRight, shiftRight, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, subtract, subtract, subtractFrom, subtractFrom, unsignedShiftRight, unsignedShiftRight, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, value, xor, xorMethods inherited from class proguard.evaluation.value.Category1Value
category1Value, isCategory2Methods inherited from class proguard.evaluation.value.Value
category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, isParticular, longValue, referenceValue
-
Field Details
-
ADD
public static final byte ADD- See Also:
-
SUBTRACT
public static final byte SUBTRACT- See Also:
-
MULTIPLY
public static final byte MULTIPLY- See Also:
-
DIVIDE
public static final byte DIVIDE- See Also:
-
REMAINDER
public static final byte REMAINDER- See Also:
-
SHIFT_LEFT
public static final byte SHIFT_LEFT- See Also:
-
SHIFT_RIGHT
public static final byte SHIFT_RIGHT- See Also:
-
UNSIGNED_SHIFT_RIGHT
public static final byte UNSIGNED_SHIFT_RIGHT- See Also:
-
AND
public static final byte AND- See Also:
-
OR
public static final byte OR- See Also:
-
XOR
public static final byte XOR- See Also:
-
-
Constructor Details
-
CompositeIntegerValue
public CompositeIntegerValue(IntegerValue integerValue1, byte operation, IntegerValue integerValue2) Creates a new composite integer value of the two given integer values and the given operation.
-
-
Method Details
-
equals
- Overrides:
equalsin classSpecificIntegerValue
-
hashCode
public int hashCode()- Overrides:
hashCodein classSpecificIntegerValue
-
toString
-