org.datanucleus.enhancer.bcel.method
Class JdoCopyKeyFieldsFromObjectId2
java.lang.Object
org.datanucleus.enhancer.ClassMethod
org.datanucleus.enhancer.bcel.BCELClassMethod
org.datanucleus.enhancer.bcel.method.JdoCopyKeyFieldsFromObjectId2
public class JdoCopyKeyFieldsFromObjectId2
- extends BCELClassMethod
Creates the jdoCopyKeyFieldsFromObjectId(Object oid) method.
|
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)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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 methodtype - Type of objectresultType - Type of resultargType - Types of argsargName - Names of argssynthetic - Whether it is syntheticgen - Generator base
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.