public ResolvedType getDeclaredType() {
        return this.member.getType();
    }
Returns the type declared as the field's or method return value's type.

@return declared type
@see #getType()
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/MemberScope.java