mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
unused declaration: fix enum constructor references IDEA-199293
This commit is contained in:
@@ -40,6 +40,12 @@ public class RefJavaUtilImpl extends RefJavaUtil {
|
||||
for (UElement element : findIn) {
|
||||
if (element == null) continue;
|
||||
element.accept(new AbstractUastVisitor() {
|
||||
@Override
|
||||
public boolean visitEnumConstant(@NotNull UEnumConstant node) {
|
||||
processNewLikeConstruct(node.resolve(), node.getValueArguments());
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean visitAnnotation(@NotNull UAnnotation node) {
|
||||
PsiClass javaClass = node.resolve();
|
||||
|
||||
Reference in New Issue
Block a user