Class CodeGenMemberInjector

java.lang.Object
org.apache.drill.exec.physical.impl.common.CodeGenMemberInjector

public class CodeGenMemberInjector extends Object
  • Constructor Details

    • CodeGenMemberInjector

      public CodeGenMemberInjector()
  • Method Details

    • injectMembers

      public static void injectMembers(ClassGenerator<?> cg, Object instance, FragmentContext context)
      Generated code for a class may have several class members, they are initialized by invoking this method when the instance created.
      Parameters:
      cg - the class generator
      instance - the class instance created by the compiler
      context - the fragment context