mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
unused declaration: fix for references from local var type (IDEA-199400)
This commit is contained in:
@@ -84,6 +84,12 @@ public class RefJavaUtilImpl extends RefJavaUtil {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean visitVariable(@NotNull UVariable node) {
|
||||
visitTypeRefs(node.getType());
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean visitSimpleNameReferenceExpression(@NotNull USimpleNameReferenceExpression node) {
|
||||
final PsiElement target = node.resolve();
|
||||
|
||||
Reference in New Issue
Block a user