Class ArrayCheckTag

    • Constructor Detail

      • ArrayCheckTag

        public ArrayCheckTag​(boolean lower,
                             boolean upper)
        A tag represents two bounds checks of an array reference. The value 'true' indicates check needed.
    • Method Detail

      • getValue

        public byte[] getValue()
        Returns back the check information in binary form, which will be written into the class file.
        Specified by:
        getValue in interface Tag
      • isCheckUpper

        public boolean isCheckUpper()
        Needs upper bound check?
      • isCheckLower

        public boolean isCheckLower()
        Needs lower bound check?
      • getName

        public String getName()
        Description copied from interface: Tag
        Returns the tag name.
        Specified by:
        getName in interface Tag