Class SetNormal
java.lang.Object
org.datanucleus.enhancer.ClassMethod
org.datanucleus.enhancer.methods.SetNormal
Method to generate the method "setZZZ" using ASM for NORMAL fields.
static void setZZZ(MyClass objPC, YYY zzz)
{
objPC.ZZZ = zzz;
}
-
Field Summary
FieldsFields inherited from class ClassMethod
access, argNames, argTypes, enhancer, exceptions, methodName, returnType, visitor -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ClassMethod
close, equals, getAccess, getClassEnhancer, getDescriptor, getMethodAdditionMessage, getName, getNamer, hashCode, initialise, initialise
-
Field Details
-
fmd
Field that this setZZZ is for.
-
-
Constructor Details
-
SetNormal
Constructor.- Parameters:
enhancer- ClassEnhancerfmd- MetaData for the field we are generating for
-
-
Method Details
-
execute
public void execute()Method to add the contents of the class method.- Specified by:
executein classClassMethod
-