mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-05 14:11:26 +07:00
global inspections: minor optimization/simplification
GitOrigin-RevId: fa92e37580a7c2e358cf139656c3144d3d6c43b0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c02ef01e30
commit
7f4d8f5164
@@ -399,10 +399,7 @@ public class RefJavaUtilImpl extends RefJavaUtil {
|
||||
|
||||
@Override
|
||||
public boolean visitClassLiteralExpression(@NotNull UClassLiteralExpression node) {
|
||||
final PsiType type = node.getType();
|
||||
if (type instanceof PsiClassType) {
|
||||
processClassReference(((PsiClassType)type).resolve(), false, node);
|
||||
}
|
||||
processClassReference(PsiUtil.resolveClassInClassTypeOnly(node.getType()), false, node);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user