void (UExpression node, PsiMember psiResolved, RefJavaElementImpl refFrom, UElement decl) { PsiElement sourcePsi = node.getSourcePsi(); if (sourcePsi instanceof PsiReferenceExpression ref) { JavaResolveResult result = ref.advancedResolve(false); if (result.getCurrentFileResolveScope() instanceof PsiImportStaticStatement) { final PsiClass containingClass = psiResolved.getContainingClass(); if (containingClass != null) { RefElement refContainingClass = refFrom.getRefManager().getReference(containingClass); if (refContainingClass != null) { refContainingClass.initializeIfNeeded(); refFrom.addReference(refContainingClass, containingClass, decl, false, true, node); } } } } }