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 java.lang.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
 java.lang.String getName()
          Returns the tag name.
 byte[] getValue()
          Returns the tag raw data.
 boolean needCheck()
           
 java.lang.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 java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object