soot.jimple.toolkits.annotation.tags
Class ArrayNullCheckTag
java.lang.Object
|
+--soot.jimple.toolkits.annotation.tags.ArrayNullCheckTag
- public class ArrayNullCheckTag
- extends java.lang.Object
- implements OneByteCodeTag
ArrayNullCheckTag combines ArrayCheckTag and NullCheckTag
into one tag. It uses bits of one byte value to represent
the check information. The right-most two bits stand for
the array bounds checks, and the right third bit represents
the null check.
For array references, the right three bits are meaningful;
for other object refrences, only null check bit should be used.
- See Also:
ArrayCheckTag
,
NullCheckTag
Method Summary |
byte |
accumulate(byte other)
Accumulates another byte value by OR. |
java.lang.String |
getName()
Returns the tag name. |
byte[] |
getValue()
Returns the tag raw data. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ArrayNullCheckTag
public ArrayNullCheckTag()
ArrayNullCheckTag
public ArrayNullCheckTag(byte v)
getName
public java.lang.String getName()
- Description copied from interface: Tag
- Returns the tag name.
getValue
public byte[] getValue()
- Description copied from interface: Tag
- Returns the tag raw data.
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
accumulate
public byte accumulate(byte other)
- Accumulates another byte value by OR.