mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
javac ast indices: fix diagnostic for un-indexed classes
This commit is contained in:
+2
-2
@@ -263,8 +263,8 @@ class CompilerReferenceReader {
|
||||
});
|
||||
if (result[0] == DefCount.NONE) {
|
||||
//diagnostic
|
||||
String baseHierarchyElement = getNameEnumerator().getName(def.getName());
|
||||
LOG.error("Can't get definition files for: " + baseHierarchyElement + ", class: " + def.getClass());
|
||||
String name = def instanceof LightRef.LightAnonymousClassDef ? String.valueOf(def.getName()) : getNameEnumerator().getName(def.getName());
|
||||
LOG.error("Can't get definition files for: " + name + ", class: " + def.getClass());
|
||||
}
|
||||
return result[0] == DefCount.MANY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user