public class ReplaceDetachedState extends ClassMethod
public final synchronized void dnReplaceDetachedState()
{
if (dnStateManager == null)
throw new IllegalStateException("state manager is null");
this.dnDetachedState = this.dnStateManager.replacingDetachedState(this, dnDetachedState);
}
access, argNames, argTypes, enhancer, exceptions, methodName, returnType, visitor| Constructor and Description |
|---|
ReplaceDetachedState(ClassEnhancer enhancer,
String name,
int access,
Object returnType,
Object[] argTypes,
String[] argNames)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Method to add the contents of the class method.
|
static ReplaceDetachedState |
getInstance(ClassEnhancer enhancer) |
close, equals, getAccess, getClassEnhancer, getDescriptor, getMethodAdditionMessage, getName, getNamer, hashCode, initialise, initialisepublic ReplaceDetachedState(ClassEnhancer enhancer, String name, int access, Object returnType, Object[] argTypes, String[] argNames)
enhancer - ClassEnhancername - Name of methodaccess - Access typereturnType - Return typeargTypes - Argument typesargNames - Argument namespublic static ReplaceDetachedState getInstance(ClassEnhancer enhancer)
public void execute()
execute in class ClassMethodCopyright © 2017. All rights reserved.