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