code: public static void addClassConstantMembers(ClassVisitor cv,
                                                 Set<String> classConstantFieldNames)
      {
          if (!classConstantFieldNames.isEmpty())
          {
              addClassConstantMethod(cv);
  
              // Generate synthetic fields for each of class constants.          d676434
              for (String fieldName : classConstantFieldNames)
              {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                      Tr.debug(tc, INDENT + "adding class constant field : " + fieldName);
  
                  FieldVisitor fv = cv.visitField(ACC_STATIC + ACC_SYNTHETIC, fieldName, "Ljava/lang/Class;", null, null);
                  fv.visitEnd();
              }
          }
      }
docs: Add synthetic fields required by {@link #loadClassConstant}.
  
  @param cv The current class visitor.
  @param classConstantFieldNames The set of class constant field names.