|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.enhancer.bcel.method.PropertyGetterMethod
public class PropertyGetterMethod
Enhance a persistent property setter
| Field Summary | |
|---|---|
protected java.lang.Object[] |
argTypes
Types of the arguments. |
protected org.apache.bcel.generic.ClassGen |
classGen
target ClassGen instance |
protected java.lang.String |
className
target class name |
protected BCELClassMetaData |
cmd
ClassMetaData for the class |
protected org.apache.bcel.generic.ConstantPoolGen |
constantPoolGen
target ConstantPoolGen instance |
protected org.apache.bcel.generic.InstructionFactory |
factory
InstructionFactory instance |
protected BCELFieldPropertyMetaData |
fieldConfig
target field |
protected org.apache.bcel.generic.InstructionList |
il
InstructionList instance |
protected static org.datanucleus.util.Localiser |
LOCALISER
Localisation of messages |
protected org.apache.bcel.classfile.Method |
method
Method |
protected org.apache.bcel.generic.MethodGen |
methodGen
MethodGen instance |
protected boolean |
synthetic
is synthetic |
| Constructor Summary | |
|---|---|
PropertyGetterMethod(org.apache.bcel.classfile.Method m,
java.lang.String className,
org.apache.bcel.generic.ConstantPoolGen constantPoolGen,
org.apache.bcel.generic.ClassGen newClass,
org.apache.bcel.generic.Type[] argTypes,
BCELFieldPropertyMetaData fieldConfig,
BCELClassEnhancer enhancer)
Constructor |
|
| Method Summary | |
|---|---|
protected org.apache.bcel.generic.InstructionHandle |
createThrowException(java.lang.String newException,
java.lang.String message)
Helper method to create a throw exception instruction. |
void |
execute()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.datanucleus.util.Localiser LOCALISER
protected BCELFieldPropertyMetaData fieldConfig
protected org.apache.bcel.generic.InstructionList il
protected org.apache.bcel.generic.MethodGen methodGen
protected boolean synthetic
protected org.apache.bcel.generic.ClassGen classGen
protected java.lang.String className
protected org.apache.bcel.generic.ConstantPoolGen constantPoolGen
protected BCELClassMetaData cmd
protected java.lang.Object[] argTypes
protected org.apache.bcel.generic.InstructionFactory factory
protected org.apache.bcel.classfile.Method method
| Constructor Detail |
|---|
public PropertyGetterMethod(org.apache.bcel.classfile.Method m,
java.lang.String className,
org.apache.bcel.generic.ConstantPoolGen constantPoolGen,
org.apache.bcel.generic.ClassGen newClass,
org.apache.bcel.generic.Type[] argTypes,
BCELFieldPropertyMetaData fieldConfig,
BCELClassEnhancer enhancer)
m - MethodclassName - Name of classconstantPoolGen - BCEL pool gennewClass - the new classargTypes - types of args to the methodfieldConfig - metadata for the field/propertyenhancer - The enhancer| Method Detail |
|---|
public void execute()
protected org.apache.bcel.generic.InstructionHandle createThrowException(java.lang.String newException,
java.lang.String message)
throw new [newExceptin param class]([message param]);
newException - throw exceptionmessage - exception message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||