docs: private static void collectPassivatorFields(Class<?> klass, Map<String, Map<String, Field>> allFields) // d648122
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "collectPassivatorFields: " + klass.getName());
  
          if (Serializable.class.isAssignableFrom(klass))
          {
              if (isTraceOn && tc.isEntryEnabled())
                  Tr.exit(tc, "collectPassivatorFields: serializable");
              return;
          }
  
          for (Class<?> classIter = klass; classIter != Object.class; classIter = classIter.getSuperclass())
          {
              String className = classIter.getName();
              Map<String, Field> classPassivatorFields = allFields.get(className);
  
              if (isTraceOn && tc.isDebugEnabled())
                  Tr.debug(tc, classIter + ", cached = " + (classPassivatorFields != null));
  
              if (classPassivatorFields == null)
              {
                  // Use a LinkedHashMap for fast iteration in
                  // createNonSerializableObjectInfo.
                  classPassivatorFields = new LinkedHashMap<String, Field>();
                  allFields.put(className, classPassivatorFields);
  
                  Field[] fields = classIter.getDeclaredFields();
                  AccessibleObject.setAccessible(fields, true);
  
                  for (Field field : fields)
                  {
                      int modifiers = field.getModifiers();
                      if (Modifier.isStatic(modifiers) || Modifier.isTransient(modifiers))
                      {
                          if (isTraceOn && tc.isDebugEnabled())
                              Tr.debug(tc, "ignoring " + field);
                      }
                      else
                      {
                          if (isTraceOn && tc.isDebugEnabled())
                              Tr.debug(tc, "adding " + field);
                          classPassivatorFields.put(field.getName(), field);
                      }
                  }
              }
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "collectPassivatorFields");
      }