public class SuperClone extends ClassMethod
private Object dnSuperClone() throws CloneNotSupportedException
{
MyClass o = (MyClass) super.clone();
o.dnFlags = (byte) 0;
o.dnStateManager = null;
return o;
}
access, argNames, argTypes, enhancer, exceptions, methodName, returnType, visitor| Constructor and Description |
|---|
SuperClone(ClassEnhancer enhancer,
String name,
int access,
Object returnType,
Object[] argTypes,
String[] argNames,
String[] exceptions)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Method to add the contents of the class method.
|
static SuperClone |
getInstance(ClassEnhancer enhancer) |
close, equals, getAccess, getClassEnhancer, getDescriptor, getMethodAdditionMessage, getName, getNamer, hashCode, initialise, initialisepublic SuperClone(ClassEnhancer enhancer, String name, int access, Object returnType, Object[] argTypes, String[] argNames, String[] exceptions)
enhancer - ClassEnhancername - Name of methodaccess - Access typereturnType - Return typeargTypes - Argument typesargNames - Argument namesexceptions - Any exceptions thrownpublic static SuperClone getInstance(ClassEnhancer enhancer)
public void execute()
execute in class ClassMethodCopyright © 2019. All rights reserved.