|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.jimple.toolkits.annotation.tags.ArrayNullCheckTag
public class ArrayNullCheckTag
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.
ArrayCheckTag
,
NullCheckTag
Constructor Summary | |
---|---|
ArrayNullCheckTag()
|
|
ArrayNullCheckTag(byte v)
|
Method Summary | |
---|---|
byte |
accumulate(byte other)
Accumulates another byte value by OR. |
String |
getName()
Returns the tag name. |
byte[] |
getValue()
Returns the tag raw data. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrayNullCheckTag()
public ArrayNullCheckTag(byte v)
Method Detail |
---|
public String getName()
Tag
getName
in interface Tag
public byte[] getValue()
Tag
getValue
in interface Tag
public String toString()
toString
in class Object
public byte accumulate(byte other)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |