org.jpox.enhancer.method
Class DefaultConstructor
java.lang.Object
org.jpox.enhancer.method.ClassElementBuilder
org.jpox.enhancer.method.MethodBuilder
org.jpox.enhancer.method.DefaultConstructor
- public class DefaultConstructor
- extends MethodBuilder
Representation of a (protected) Default Constructor.
The constructor simply calls its superclass default constructor.
- Version:
- $Revision: 1.3 $
Constructor Summary |
DefaultConstructor(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)
Constructor |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DefaultConstructor
public DefaultConstructor(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)
- Constructor
- Parameters:
methodName
- Name of the method ("" for a constructor)type
- Access typeresultType
- Result type from the methodargType
- Argument typesargName
- Argument namessynthetic
- Whether is synthetic or notgen
- The generator
getInstance
public static DefaultConstructor getInstance(GeneratorBase gen)
execute
public void execute()
- Execute the method
- Overrides:
execute
in class MethodBuilder
close
public void close()
- Close the method, updating the class.
- Overrides:
close
in class MethodBuilder
Copyright © -2007 . All Rights Reserved.