code: public static Set<String> getAllAttributeNames(final Class<?> classToInspect) {
          Set<String> allFields = new HashSet<>();
          getAllAttributes(classToInspect, allFields, FIELD_TO_NAME, field -> true);
          return allFields;
      }
docs: Converts all non-final properties in {@link #getAllAttributes(Class)} to a set of the attribute names.
  
  @param classToInspect the class to inspect