org.datanucleus.enhancer.bcel.method
Class JdoCopyKeyFieldsFromObjectId2

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

public class JdoCopyKeyFieldsFromObjectId2
extends BCELClassMethod

Creates the jdoCopyKeyFieldsFromObjectId(Object oid) method.


Field Summary
 
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
JdoCopyKeyFieldsFromObjectId2(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)
           
 
Method Summary
 void execute()
          Method to add the contents of the class method.
static JdoCopyKeyFieldsFromObjectId2 getInstance(BCELClassEnhancer gen)
          Create and return instance of this class.
 
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
 

Constructor Detail

JdoCopyKeyFieldsFromObjectId2

public JdoCopyKeyFieldsFromObjectId2(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)
Parameters:
methodName - Name of the method
type - Type of object
resultType - Type of result
argType - Types of args
argName - Names of args
synthetic - Whether it is synthetic
gen - Generator base
Method Detail

getInstance

public static JdoCopyKeyFieldsFromObjectId2 getInstance(BCELClassEnhancer gen)
Create and return instance of this class.

Parameters:
gen - target class generator
Returns:
instance of this class

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.