soot.jimple.toolkits.annotation.tags
Class NullCheckTag

java.lang.Object
  extended bysoot.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.


Constructor Summary
NullCheckTag(boolean needCheck)
           
 
Method Summary
 String getName()
          Returns the tag name.
 byte[] getValue()
          Returns the tag raw data.
 boolean needCheck()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullCheckTag

public NullCheckTag(boolean needCheck)
Method Detail

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()