code: public static void loadClassConstant(MethodVisitor mg,
                                           String className,
                                           Set<String> classConstantFieldNames,
                                           Class<?> classConstant) // d676434
      {
          String fieldName = getClassConstantFieldName(classConstant);
          classConstantFieldNames.add(fieldName);
  
          // -----------------------------------------------------------------------
          //   class$com$ibm$example$Test != null ?
          // -----------------------------------------------------------------------
          mg.visitFieldInsn(GETSTATIC, className, fieldName, "Ljava/lang/Class;");
          Label if_null_then = new Label();
          mg.visitJumpInsn(IFNULL, if_null_then);
  
          // -----------------------------------------------------------------------
          //     class$com$ibm$example$Test :
          // -----------------------------------------------------------------------
          mg.visitFieldInsn(GETSTATIC, className, fieldName, "Ljava/lang/Class;");
          Label else_nonnull = new Label();
          mg.visitJumpInsn(GOTO, else_nonnull);
  
          // -----------------------------------------------------------------------
          //     (class$com$ibm$example$Test = class$("com.ibm.example.Test"));
          // -----------------------------------------------------------------------
          mg.visitLabel(if_null_then);
          mg.visitLdcInsn(classConstant.getName());
          mg.visitMethodInsn(INVOKESTATIC, className, "class$",
                             "(Ljava/lang/String;)Ljava/lang/Class;");
          mg.visitInsn(DUP);
          mg.visitFieldInsn(PUTSTATIC, className, fieldName, "Ljava/lang/Class;");
  
          mg.visitLabel(else_nonnull);
      }
docs: Generates code to load a Class constant. After all calls to this method
  have been made, {@link #addClassConstantFields} must be called.
  
  @param mg ASM method generator for the current method.
  @param className The name of the class being written.
  @param classConstantFieldNames The set of class constants to be updated.
  @param classConstant The class constant.
  @see #addClassConstantFields