boolean (@NotNull PsiMethodCallExpression methodCallExpression, @Nullable PsiElement from) { if (from instanceof PsiMethod && MethodCallUtils.isSuperMethodCall(methodCallExpression, (PsiMethod)from)) { // ignore super method calls return true; } final PsiPrefixExpression prefixExpression = ObjectUtils.tryCast(methodCallExpression.getParent(), PsiPrefixExpression.class); return prefixExpression != null && prefixExpression.getOperationTokenType().equals(JavaTokenType.EXCL); }