private Set<String> getFieldNames() {
		if (fieldNames != null) {
			return fieldNames;
		}
		fieldNames = getFields().stream()
				.map(VariableElement::getSimpleName)
				.map(Object::toString)
				.map(PythonTypeStubElement::sanitize)
				.collect(Collectors.toCollection(() -> new HashSet<>(getFields().size())));
		return fieldNames;
	}
Gets a set of the public field names for this type

@return the set of public field names
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/PythonTypeStubType.java