public ResolvedTypeWithMembers getDeclaringTypeMembers() {
        return this.declarationDetails.getDeclaringTypeMembers();
    }
Getter for the collection of the member's declaring type's (other) fields and methods.

@return declaring type's fields and methods
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/MemberScope.java