boolean (Object element, @Nullable PsiElement context) { PsiMethod method = MethodParameterInfoHandler.tryGetMethodFromCandidate(element); if (method != null) { element = method; } if (element instanceof PsiField) { return !myNonInitializedFields.contains(element); } if (element instanceof PsiMethod && myInsideConstructorCall) { return ((PsiMethod)element).hasModifierProperty(PsiModifier.STATIC); } return true; }