public class LibraryClassEditor
extends java.lang.Object
Constructor and Description |
---|
LibraryClassEditor(LibraryClass targetClass)
Creates a new ClassEditor that will edit elements in the given target class.
|
Modifier and Type | Method and Description |
---|---|
void |
addField(Field field)
Adds the given field.
|
void |
addInterface(java.lang.String interfaceName,
Clazz referencedInterface)
Adds the given interface.
|
void |
addMethod(Method method)
Adds the given method.
|
void |
removeField(Field field)
Removes the given field.
|
void |
removeInterface(java.lang.String interfaceName)
Removes the given interface.
|
void |
removeMethod(Method method)
Removes the given method.
|
public LibraryClassEditor(LibraryClass targetClass)
public void addInterface(java.lang.String interfaceName, Clazz referencedInterface)
public void removeInterface(java.lang.String interfaceName)
public void addField(Field field)
public void removeField(Field field)
public void addMethod(Method method)
public void removeMethod(Method method)