org.datanucleus.enhancer.bcel.method
Class CheckReadMethod

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

public class CheckReadMethod
extends BCELClassMethod

Create CHECK_READ method.

Version:
$Revision: 1.7 $

Field Summary
protected  BCELFieldPropertyMetaData fieldConfig
          target field
 
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
CheckReadMethod(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, BCELFieldPropertyMetaData fieldConfig)
          Constructor
 
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

fieldConfig

protected BCELFieldPropertyMetaData fieldConfig
target field

Constructor Detail

CheckReadMethod

public CheckReadMethod(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,
                       BCELFieldPropertyMetaData fieldConfig)
Constructor

Parameters:
methodName - method name
type - method modifier
resultType - return type
argType - argment types
argName - argment names
synthetic - synthetic flag
gen - target class generator
fieldConfig - target field.
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.