Package soot
Class ShortConstant
-
- All Implemented Interfaces:
Serializable,EquivTo,Immediate,ConvertToBaf,Switchable,Value
public class ShortConstant extends IntConstant
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class soot.jimple.IntConstant
value
-
-
Constructor Summary
Constructors Constructor Description ShortConstant(int value)ShortConstant(short value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Called when this object is visited.shortgetShort()TypegetType()Returns the Soot type of this Value.static ShortConstantv(int value)-
Methods inherited from class soot.jimple.IntConstant
add, and, divide, equalEqual, equals, getNumericValue, 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
-
-
-
-
Method Detail
-
v
public static ShortConstant v(int value)
-
getShort
public short getShort()
-
getType
public Type getType()
Description copied from interface:ValueReturns the Soot type of this Value.- Specified by:
getTypein interfaceValue- Overrides:
getTypein classIntConstant
-
apply
public void apply(Switch sw)
Description copied from interface:SwitchableCalled when this object is visited.- Specified by:
applyin interfaceSwitchable- Overrides:
applyin classIntConstant
-
-