boolean (@NotNull PsiMethodReferenceExpression methodRef) { if (methodRef.isConstructor()) return false; PsiElement target = methodRef.resolve(); if (!(target instanceof PsiMethod)) return false; if (((PsiMethod)target).hasModifierProperty(PsiModifier.STATIC)) return false; if (!PsiMethodReferenceUtil.isStaticallyReferenced(methodRef)) return false; return true; }