|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.classfile.editor.InterfacesEditor
public class InterfacesEditor
This class can add and delete interfaces to and from classes. References to the constant pool must be filled out beforehand.
| Constructor Summary | |
|---|---|
InterfacesEditor(ProgramClass targetClass)
Creates a new InterfacesEditor that will edit interfaces in the given target class. |
|
| Method Summary | |
|---|---|
void |
addInterface(int interfaceConstantIndex)
Adds the specified interface to the target class, if it isn't present yet. |
void |
deleteInterface(int interfaceConstantIndex)
Deletes the given interface from the target class, if it is present. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InterfacesEditor(ProgramClass targetClass)
| Method Detail |
|---|
public void addInterface(int interfaceConstantIndex)
public void deleteInterface(int interfaceConstantIndex)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||