public void collect(MemberScope<?, ?> member) {
        String propertyName = member.getSchemaPropertyName();
        if (member.isFakeContainerItemScope()) {
            this.collectedProperties.put(propertyName, member);
            return;
        }
        this.registerIfRequired(member);
        if (this.collectedProperties.containsKey(propertyName)) {
            logger.debug("ignoring overridden {}.{}", member.getDeclaringType(), member.getDeclaredName());
        } else {
            this.collectedProperties.put(propertyName, member);
        }
    }
Add the given field or method to this context's list of collected properties.

@param member field/method to add
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/MemberCollectionContextImpl.java