private static Set<String> getTransientFields(Class klass) {
            Set<String> transientFields = new HashSet<>();
            for (Field field : klass.getDeclaredFields()) {
                if (Modifier.isTransient(field.getModifiers())) {
                    // Normalize field names to lowercase the first character.
                    transientFields.add(StringUtils.uncapitalize(field.getName()));
                }
            }
            return transientFields;
        }
Contains the getters of a class that are eligible to convert to a Node.

<p>Getters are public methods that take zero arguments and start with
"get" or "is". Getters that are associated with properties marked as
{@code transient} are not serialized.
smithy-model/src/main/java/software/amazon/smithy/model/node/DefaultNodeSerializers.java