org.jpox.enhancer.method
Class JdoGetManagedFieldCount
java.lang.Object
org.jpox.enhancer.method.ClassElementBuilder
org.jpox.enhancer.method.MethodBuilder
org.jpox.enhancer.method.JdoGetManagedFieldCount
- public class JdoGetManagedFieldCount
- extends MethodBuilder
The generated method returns the number of managed fields in this class plus the number
of inherited managed fields. This method is expected to be executed only during class
loading of the subclasses.
- Since:
- 1.0.0
- Version:
- $Revision: 1.4 $
Constructor Summary |
JdoGetManagedFieldCount(java.lang.String methodName,
int type,
org.apache.bcel.generic.Type resultType,
org.apache.bcel.generic.Type[] argType,
java.lang.String[] argName,
boolean synthetic,
GeneratorBase gen)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
JdoGetManagedFieldCount
public JdoGetManagedFieldCount(java.lang.String methodName,
int type,
org.apache.bcel.generic.Type resultType,
org.apache.bcel.generic.Type[] argType,
java.lang.String[] argName,
boolean synthetic,
GeneratorBase gen)
- Parameters:
methodName
- type
- resultType
- argType
- argName
- synthetic
- gen
-
getInstance
public static JdoGetManagedFieldCount getInstance(GeneratorBase gen)
execute
public void execute()
- Description copied from class:
ClassElementBuilder
- ClassElementBuilder routine
- Overrides:
execute
in class MethodBuilder
Copyright © -2007 . All Rights Reserved.