org.datanucleus.enhancer.bcel.method
Class ReplaceMethodCallback

java.lang.Object
  extended by org.datanucleus.enhancer.ClassMethod
      extended by org.datanucleus.enhancer.bcel.BCELClassMethod
          extended by org.datanucleus.enhancer.bcel.method.ReplaceMethodCallback

public abstract class ReplaceMethodCallback
extends BCELClassMethod


Field Summary
protected  org.apache.bcel.classfile.Method originalMethod
           
 
Fields inherited from class org.datanucleus.enhancer.bcel.BCELClassMethod
classGen, className, cmd, constantPoolGen, factory, il, LOCALISER, methodGen, synthetic
 
Fields inherited from class org.datanucleus.enhancer.ClassMethod
access, argNames, argTypes, enhancer, exceptions, methodName, returnType
 
Constructor Summary
ReplaceMethodCallback(org.apache.bcel.classfile.Method originalMethod, BCELClassEnhancer gen)
           
 
Method Summary
 void close()
          Method to close the definition of the class method
 
Methods inherited from class org.datanucleus.enhancer.bcel.BCELClassMethod
createThrowException, createThrowException, execute, getClassEnhancer, initialise
 
Methods inherited from class org.datanucleus.enhancer.ClassMethod
equals, getAccess, getMethodAdditionMessage, getName, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

originalMethod

protected org.apache.bcel.classfile.Method originalMethod
Constructor Detail

ReplaceMethodCallback

public ReplaceMethodCallback(org.apache.bcel.classfile.Method originalMethod,
                             BCELClassEnhancer gen)
Parameters:
originalMethod - The original method to replace
gen - The generator base
Method Detail

close

public void close()
Description copied from class: BCELClassMethod
Method to close the definition of the class method

Overrides:
close in class BCELClassMethod


Copyright © 2009. All Rights Reserved.