Class BootstrapMethodsAttribute

    • Field Detail

      • tag

        public static final java.lang.String tag
        The name of this attribute "BootstrapMethods".
        See Also:
        Constant Field Values
    • Method Detail

      • getMethods

        public BootstrapMethodsAttribute.BootstrapMethod[] getMethods()
        Obtains bootstrap_methods in this attribute.
        an array of BootstrapMethod. Since it is a fresh copy, modifying the returned array does not affect the original contents of this attribute.
      • copy

        public AttributeInfo copy​(ConstPool newCp,
                                  java.util.Map<java.lang.String,​java.lang.String> classnames)
        Makes a copy. Class names are replaced according to the given Map object.
        copy in class AttributeInfo
        newCp - the constant pool table used by the new copy.
        classnames - pairs of replaced and substituted class names.