mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
Complete symbols returned by getAllMembers
This commit is contained in:
parent
39c4741f48
commit
ecad620d4f
@ -578,8 +578,10 @@ public class JavacElements implements Elements {
|
||||
boolean initializer = kind == ElementKind.CONSTRUCTOR
|
||||
|| kind == ElementKind.INSTANCE_INIT
|
||||
|| kind == ElementKind.STATIC_INIT;
|
||||
if (!derived || (!initializer && e.isInheritedIn(scope.owner, types)))
|
||||
if (!derived || (!initializer && e.isInheritedIn(scope.owner, types))) {
|
||||
e.apiComplete();
|
||||
scope.enter(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user