mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
bytecode analysis: resolve only wrt PsiClassOwner (IDEA-127608)
This commit is contained in:
+4
-3
@@ -263,11 +263,12 @@ public class BytecodeAnalysisConverter implements ApplicationComponent {
|
||||
|
||||
|
||||
private int mkPsiClassKey(PsiClass psiClass, int dimensions) throws IOException {
|
||||
PsiClassOwner psiFile = (PsiClassOwner) psiClass.getContainingFile();
|
||||
if (psiFile == null) {
|
||||
LOG.debug("getContainingFile was null for " + psiClass.getQualifiedName());
|
||||
PsiFile containingFile = psiClass.getContainingFile();
|
||||
if (!(containingFile instanceof PsiClassOwner)) {
|
||||
LOG.debug("containingFile was not resolved for " + psiClass.getQualifiedName());
|
||||
return -1;
|
||||
}
|
||||
PsiClassOwner psiFile = (PsiClassOwner)containingFile;
|
||||
String packageName = psiFile.getPackageName();
|
||||
String qname = psiClass.getQualifiedName();
|
||||
if (qname == null) {
|
||||
|
||||
Reference in New Issue
Block a user