-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
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.