code: private void generateStaticInitializer(ClassVisitor cv) {
      if (Flags.DEBUG) {
        new Statement() {
          @Override
          protected void doGen(CodeBuilder adapter) {
            adapter.pushType(template.typeInfo().type());
            adapter.visitVarInsn(Opcodes.ASTORE, 0);
            adapter.returnValue();
          }
        }.writeMethod(Opcodes.ACC_STATIC, BytecodeUtils.CLASS_INIT, cv);
      }
    }
docs: Generates a static initializer that references the CompiledTemplate class to force eager
  classloading (and thus verification errors). For example,
  
  <pre>{@code
  static {
  Class<?> clz = GeneratedTemplateClass.class;
  }
  }</pre>