org.datanucleus.enhancer.bcel.method
Class IsXXXMethod

java.lang.Object
  extended by org.datanucleus.enhancer.ClassMethod
      extended by org.datanucleus.enhancer.bcel.BCELClassMethod
          extended by org.datanucleus.enhancer.bcel.method.IsXXXMethod
Direct Known Subclasses:
JdoIsDeleted, JdoIsNew, JdoIsPersistent, JdoIsTransactional

public class IsXXXMethod
extends BCELClassMethod

Create jdoIsNew and jdoIsDirty methods in base class.

Version:
$Revision: 1.3 $

Field Summary
protected  java.lang.String invokeMethodName
           
 
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
IsXXXMethod(java.lang.String methodName, int type, org.apache.bcel.generic.Type resultType, org.apache.bcel.generic.Type[] argType, java.lang.String[] argName, boolean synthetic, BCELClassEnhancer gen, java.lang.String invokeMethodName)
           
 
Method Summary
 void execute()
          Method to add the contents of the class method.
 
Methods inherited from class org.datanucleus.enhancer.bcel.BCELClassMethod
close, createThrowException, createThrowException, 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

invokeMethodName

protected java.lang.String invokeMethodName
Constructor Detail

IsXXXMethod

public IsXXXMethod(java.lang.String methodName,
                   int type,
                   org.apache.bcel.generic.Type resultType,
                   org.apache.bcel.generic.Type[] argType,
                   java.lang.String[] argName,
                   boolean synthetic,
                   BCELClassEnhancer gen,
                   java.lang.String invokeMethodName)
Parameters:
methodName - Name of the method
type - Type
resultType - Type of result from method
argType - Argument types
argName - Argument names
synthetic - Whether synthetic or not
gen - Generator base
invokeMethodName - Method name to invoke
Method Detail

execute

public void execute()
Description copied from class: BCELClassMethod
Method to add the contents of the class method.

Overrides:
execute in class BCELClassMethod


Copyright © 2009. All Rights Reserved.