Class 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;
     }
     
    • Constructor Detail

      • SetNormal

        public SetNormal​(ClassEnhancer enhancer,
                         AbstractMemberMetaData fmd)
        Constructor.
        Parameters:
        enhancer - ClassEnhancer
        fmd - 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 class ClassMethod