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