soot.jimple.toolkits.annotation.tags
Class NullCheckTag
java.lang.Object
soot.jimple.toolkits.annotation.tags.NullCheckTag
- All Implemented Interfaces:
- OneByteCodeTag, Tag
public class NullCheckTag
- extends Object
- implements OneByteCodeTag
NullCheckTag contains the null pointer check information.
The right third bit of a byte is used to represent whether
the null check is needed.
NullCheckTag
public NullCheckTag(boolean needCheck)
getName
public String getName()
- Description copied from interface:
Tag
- Returns the tag name.
- Specified by:
getName
in interface Tag
getValue
public byte[] getValue()
- Description copied from interface:
Tag
- Returns the tag raw data.
- Specified by:
getValue
in interface Tag
needCheck
public boolean needCheck()
toString
public String toString()
- Overrides:
toString
in class Object