Package soot
Class ByteConstant
-
- All Implemented Interfaces:
Serializable,EquivTo,Immediate,ConvertToBaf,Switchable,Value
public class ByteConstant extends IntConstant
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ByteConstantONEstatic ByteConstantZERO-
Fields inherited from class soot.jimple.IntConstant
value
-
-
Constructor Summary
Constructors Constructor Description ByteConstant(byte value)ByteConstant(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetByte()NumbergetNumericValue()TypegetType()Returns the Soot type of this Value.static ByteConstantv(int value)-
Methods inherited from class soot.jimple.IntConstant
add, and, apply, divide, equalEqual, equals, greaterThan, greaterThanOrEqual, hashCode, isLessThan, lessThan, lessThanOrEqual, multiply, negate, notEqual, or, remainder, shiftLeft, shiftRight, subtract, toString, unsignedShiftRight, xor
-
Methods inherited from class soot.jimple.Constant
clone, convertToBaf, equivHashCode, equivTo, getUseBoxes, toString
-
-
-
-
Field Detail
-
ZERO
public static final ByteConstant ZERO
-
ONE
public static final ByteConstant ONE
-
-
Method Detail
-
v
public static ByteConstant v(int value)
-
getByte
public byte getByte()
-
getNumericValue
public Number getNumericValue()
- Overrides:
getNumericValuein classIntConstant
-
-