Class InnerClassesAttributeEditor


  • public class InnerClassesAttributeEditor
    extends java.lang.Object
    This class can add/remove bootstrap methods to/from a given inner classes attribute. Inner classes to be added must have been filled out beforehand.
    • Constructor Detail

      • InnerClassesAttributeEditor

        public InnerClassesAttributeEditor​(InnerClassesAttribute targetInnerClassesAttribute)
        Creates a new InnerClassesAttributeEditor that will edit inner classes in the given inner classes attribute.
    • Method Detail

      • addInnerClassesInfo

        public int addInnerClassesInfo​(InnerClassesInfo innerClassesInfo)
        Adds a given inner class to the inner classes attribute.
        Returns:
        the index of the inner class.
      • removeInnerClassesInfo

        public void removeInnerClassesInfo​(InnerClassesInfo innerClassesInfo)
        Removes the given inner class from the inner classes attribute.