Package proguard.classfile.editor
Class InnerClassesAttributeEditor
- java.lang.Object
-
- proguard.classfile.editor.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 Summary
Constructors Constructor Description InnerClassesAttributeEditor(InnerClassesAttribute targetInnerClassesAttribute)
Creates a new InnerClassesAttributeEditor that will edit inner classes in the given inner classes attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
addInnerClassesInfo(InnerClassesInfo innerClassesInfo)
Adds a given inner class to the inner classes attribute.void
removeInnerClassesInfo(InnerClassesInfo innerClassesInfo)
Removes the given inner class from the inner classes attribute.
-
-
-
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.
-
-