mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] show containing file name of implicit classes in batch inspection results (IJ-CR-130524)
GitOrigin-RevId: 280b18e1a50ed18db8dfcc79ce95dc2d9669f9df
This commit is contained in:
committed by
intellij-monorepo-bot
parent
afb2aef0a1
commit
9e22b48c16
@@ -289,7 +289,7 @@ inspection.redundant.type.problem.descriptor=Explicit type arguments can be infe
|
||||
inspection.redundant.type.remove.quickfix=Remove type arguments
|
||||
inspection.reference.anonymous.name=anonymous ({0})
|
||||
inspection.reference.anonymous.class=anonymous class
|
||||
inspection.reference.implicit.class=implicit class
|
||||
inspection.reference.implicit.class=implicit class in file ''{0}''
|
||||
inspection.reference.implicit.constructor.name=implicit constructor of {0}
|
||||
inspection.reference.lambda.name=lambda ({0})
|
||||
inspection.reference.default.lambda.name=lambda
|
||||
|
||||
+2
-1
@@ -90,7 +90,8 @@ public abstract class RefJavaElementImpl extends RefElementImpl implements RefJa
|
||||
}
|
||||
}
|
||||
if (element instanceof PsiImplicitClass) {
|
||||
return JavaAnalysisBundle.message("inspection.reference.implicit.class");
|
||||
PsiFile file = element.getContainingFile();
|
||||
return JavaAnalysisBundle.message("inspection.reference.implicit.class", file.getName());
|
||||
}
|
||||
|
||||
if (element instanceof PsiSyntheticClass jspClass) {
|
||||
|
||||
Reference in New Issue
Block a user