Package proguard.evaluation.value
Class NegatedIntegerValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category1Value
-
- proguard.evaluation.value.IntegerValue
-
- proguard.evaluation.value.SpecificIntegerValue
-
- proguard.evaluation.value.NegatedIntegerValue
-
public final class NegatedIntegerValue extends SpecificIntegerValue
ThisIntegerValuerepresents a integer value that is negated.
-
-
Field Summary
-
Fields 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
Constructors Constructor Description NegatedIntegerValue(IntegerValue integerValue)Creates a new negated integer value of the given integer value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)inthashCode()IntegerValuenegate()Returns the negated value of this IntegerValue.java.lang.StringtoString()-
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, 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, xor
-
Methods 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, xor
-
Methods inherited from class proguard.evaluation.value.Category1Value
category1Value, isCategory2
-
Methods inherited from class proguard.evaluation.value.Value
category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, isParticular, longValue, referenceValue
-
-
-
-
Constructor Detail
-
NegatedIntegerValue
public NegatedIntegerValue(IntegerValue integerValue)
Creates a new negated integer value of the given integer value.
-
-
Method Detail
-
negate
public IntegerValue negate()
Description copied from class:IntegerValueReturns the negated value of this IntegerValue.- Overrides:
negatein classSpecificIntegerValue
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classSpecificIntegerValue
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSpecificIntegerValue
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-