boolean (@NotNull PsiParameter psiParameter) { PsiType type = FieldFromParameterUtils.getSubstitutedType(psiParameter); PsiClass targetClass = PsiTreeUtil.getParentOfType(psiParameter, PsiClass.class); return FieldFromParameterUtils.isAvailable(psiParameter, type, targetClass) && psiParameter.getLanguage().isKindOf(JavaLanguage.INSTANCE); }