Package proguard.evaluation.value
Class UnknownIntegerValue
java.lang.Object
proguard.evaluation.value.Value
proguard.evaluation.value.Category1Value
proguard.evaluation.value.IntegerValue
proguard.evaluation.value.UnknownIntegerValue
IntegerValue that is unknown.
This class handles interactions with: - IntegerValue (in general)
-
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 -
Method Summary
Modifier and TypeMethodDescriptionadd(IntegerValue other) Returns the sum of this IntegerValue and the given IntegerValue.and(IntegerValue other) Returns the logical and of this IntegerValue and the given IntegerValue.Converts this IntegerValue to a byte IntegerValue.Converts this IntegerValue to a character IntegerValue.Converts this IntegerValue to a DoubleValue.Converts this IntegerValue to a FloatValue.Converts this IntegerValue to a LongValue.Converts this IntegerValue to a short IntegerValue.divide(IntegerValue other) Returns the quotient of this IntegerValue and the given IntegerValue.divideOf(IntegerValue other) Returns the quotient of the given IntegerValue and this IntegerValue.intequal(IntegerValue other) Returns whether this IntegerValue and the given IntegerValue are equal:NEVER,MAYBE, orALWAYS.booleangeneralize(IntegerValue other) Returns the generalization of this IntegerValue and the given other IntegerValue.inthashCode()intlessThan(IntegerValue other) Returns whether this IntegerValue is less than the given IntegerValue:NEVER,MAYBE, orALWAYS.intlessThanOrEqual(IntegerValue other) Returns whether this IntegerValue is less than or equal to the given IntegerValue:NEVER,MAYBE, orALWAYS.multiply(IntegerValue other) Returns the product of this IntegerValue and the given IntegerValue.negate()Returns the negated value of this IntegerValue.or(IntegerValue other) Returns the logical or of this IntegerValue and the given IntegerValue.remainder(IntegerValue other) Returns the remainder of this IntegerValue divided by the given IntegerValue.remainderOf(IntegerValue other) Returns the remainder of the given IntegerValue divided by this IntegerValue.shiftLeft(IntegerValue other) Returns this IntegerValue, shifted left by the given IntegerValue.shiftLeftOf(IntegerValue other) Returns the given IntegerValue, shifted left by this IntegerValue.shiftLeftOf(LongValue other) Returns the given LongValue, shifted left by this IntegerValue.shiftRight(IntegerValue other) Returns this IntegerValue, shifted right by the given IntegerValue.shiftRightOf(IntegerValue other) Returns the given IntegerValue, shifted right by this IntegerValue.shiftRightOf(LongValue other) Returns the given LongValue, shifted right by this IntegerValue.subtract(IntegerValue other) Returns the difference of this IntegerValue and the given IntegerValue.subtractFrom(IntegerValue other) Returns the difference of the given IntegerValue and this IntegerValue.toString()unsignedShiftRight(IntegerValue other) Returns this unsigned IntegerValue, shifted left by the given IntegerValue.unsignedShiftRightOf(IntegerValue other) Returns the given unsigned IntegerValue, shifted left by this IntegerValue.unsignedShiftRightOf(LongValue other) Returns the given unsigned LongValue, shifted right by this IntegerValue.xor(IntegerValue other) Returns the logical xor of this IntegerValue and the given IntegerValue.Methods inherited from class proguard.evaluation.value.IntegerValue
add, add, add, add, and, and, and, and, computationalType, divide, divide, divide, divide, divideOf, divideOf, divideOf, divideOf, equal, equal, equal, equal, generalize, generalize, generalize, generalize, generalize, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, integerValue, internalType, lessThan, lessThan, lessThan, lessThan, lessThanOrEqual, lessThanOrEqual, lessThanOrEqual, lessThanOrEqual, multiply, multiply, multiply, multiply, notEqual, notEqual, notEqual, notEqual, notEqual, or, or, or, or, remainder, remainder, remainder, remainder, remainderOf, remainderOf, remainderOf, remainderOf, shiftLeft, shiftLeft, shiftLeft, shiftLeft, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftRight, shiftRight, shiftRight, shiftRight, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, subtract, subtract, subtract, subtract, subtractFrom, subtractFrom, subtractFrom, subtractFrom, unsignedShiftRight, unsignedShiftRight, unsignedShiftRight, unsignedShiftRight, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, value, xor, xor, xor, xorMethods inherited from class proguard.evaluation.value.Category1Value
category1Value, isCategory2Methods inherited from class proguard.evaluation.value.Value
category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, isParticular, isSpecific, longValue, referenceValue
-
Constructor Details
-
UnknownIntegerValue
public UnknownIntegerValue()
-
-
Method Details
-
negate
Description copied from class:IntegerValueReturns the negated value of this IntegerValue.- Specified by:
negatein classIntegerValue
-
convertToByte
Description copied from class:IntegerValueConverts this IntegerValue to a byte IntegerValue.- Specified by:
convertToBytein classIntegerValue
-
convertToCharacter
Description copied from class:IntegerValueConverts this IntegerValue to a character IntegerValue.- Specified by:
convertToCharacterin classIntegerValue
-
convertToShort
Description copied from class:IntegerValueConverts this IntegerValue to a short IntegerValue.- Specified by:
convertToShortin classIntegerValue
-
convertToLong
Description copied from class:IntegerValueConverts this IntegerValue to a LongValue.- Specified by:
convertToLongin classIntegerValue
-
convertToFloat
Description copied from class:IntegerValueConverts this IntegerValue to a FloatValue.- Specified by:
convertToFloatin classIntegerValue
-
convertToDouble
Description copied from class:IntegerValueConverts this IntegerValue to a DoubleValue.- Specified by:
convertToDoublein classIntegerValue
-
generalize
Description copied from class:IntegerValueReturns the generalization of this IntegerValue and the given other IntegerValue.- Specified by:
generalizein classIntegerValue
-
add
Description copied from class:IntegerValueReturns the sum of this IntegerValue and the given IntegerValue.- Specified by:
addin classIntegerValue
-
subtract
Description copied from class:IntegerValueReturns the difference of this IntegerValue and the given IntegerValue.- Specified by:
subtractin classIntegerValue
-
subtractFrom
Description copied from class:IntegerValueReturns the difference of the given IntegerValue and this IntegerValue.- Specified by:
subtractFromin classIntegerValue
-
multiply
Description copied from class:IntegerValueReturns the product of this IntegerValue and the given IntegerValue.- Specified by:
multiplyin classIntegerValue- Throws:
ArithmeticException
-
divide
Description copied from class:IntegerValueReturns the quotient of this IntegerValue and the given IntegerValue.- Specified by:
dividein classIntegerValue- Throws:
ArithmeticException
-
divideOf
Description copied from class:IntegerValueReturns the quotient of the given IntegerValue and this IntegerValue.- Specified by:
divideOfin classIntegerValue- Throws:
ArithmeticException
-
remainder
Description copied from class:IntegerValueReturns the remainder of this IntegerValue divided by the given IntegerValue.- Specified by:
remainderin classIntegerValue- Throws:
ArithmeticException
-
remainderOf
Description copied from class:IntegerValueReturns the remainder of the given IntegerValue divided by this IntegerValue.- Specified by:
remainderOfin classIntegerValue- Throws:
ArithmeticException
-
shiftLeft
Description copied from class:IntegerValueReturns this IntegerValue, shifted left by the given IntegerValue.- Specified by:
shiftLeftin classIntegerValue
-
shiftLeftOf
Description copied from class:IntegerValueReturns the given IntegerValue, shifted left by this IntegerValue.- Specified by:
shiftLeftOfin classIntegerValue
-
shiftRight
Description copied from class:IntegerValueReturns this IntegerValue, shifted right by the given IntegerValue.- Specified by:
shiftRightin classIntegerValue
-
shiftRightOf
Description copied from class:IntegerValueReturns the given IntegerValue, shifted right by this IntegerValue.- Specified by:
shiftRightOfin classIntegerValue
-
unsignedShiftRight
Description copied from class:IntegerValueReturns this unsigned IntegerValue, shifted left by the given IntegerValue.- Specified by:
unsignedShiftRightin classIntegerValue
-
unsignedShiftRightOf
Description copied from class:IntegerValueReturns the given unsigned IntegerValue, shifted left by this IntegerValue.- Specified by:
unsignedShiftRightOfin classIntegerValue
-
shiftLeftOf
Description copied from class:IntegerValueReturns the given LongValue, shifted left by this IntegerValue.- Specified by:
shiftLeftOfin classIntegerValue
-
shiftRightOf
Description copied from class:IntegerValueReturns the given LongValue, shifted right by this IntegerValue.- Specified by:
shiftRightOfin classIntegerValue
-
unsignedShiftRightOf
Description copied from class:IntegerValueReturns the given unsigned LongValue, shifted right by this IntegerValue.- Specified by:
unsignedShiftRightOfin classIntegerValue
-
and
Description copied from class:IntegerValueReturns the logical and of this IntegerValue and the given IntegerValue.- Specified by:
andin classIntegerValue
-
or
Description copied from class:IntegerValueReturns the logical or of this IntegerValue and the given IntegerValue.- Specified by:
orin classIntegerValue
-
xor
Description copied from class:IntegerValueReturns the logical xor of this IntegerValue and the given IntegerValue.- Specified by:
xorin classIntegerValue
-
equal
Description copied from class:IntegerValueReturns whether this IntegerValue and the given IntegerValue are equal:NEVER,MAYBE, orALWAYS.- Specified by:
equalin classIntegerValue
-
lessThan
Description copied from class:IntegerValueReturns whether this IntegerValue is less than the given IntegerValue:NEVER,MAYBE, orALWAYS.- Specified by:
lessThanin classIntegerValue
-
lessThanOrEqual
Description copied from class:IntegerValueReturns whether this IntegerValue is less than or equal to the given IntegerValue:NEVER,MAYBE, orALWAYS.- Specified by:
lessThanOrEqualin classIntegerValue
-
equals
-
hashCode
public int hashCode() -
toString
-