Description of the issue
The documentation of Member says:
A common abstraction for type member declarations, including methods, constructors, fields, and nested types.
However, NestedType does not extend Member.
Though NestedType can be cast to Member without issues and having it extend Member would cause it to have getDeclaringType and getEnclosingType which both do the same and would also case a mismatch for getQualifiedName (see also #3711), but it still feels weird that there is no direct relation between these two classes.
Description of the issue
The documentation of Member says:
However, NestedType does not extend Member.
Though NestedType can be cast to Member without issues and having it extend Member would cause it to have
getDeclaringTypeandgetEnclosingTypewhich both do the same and would also case a mismatch forgetQualifiedName(see also #3711), but it still feels weird that there is no direct relation between these two classes.