private static boolean parentIsReferenceInMethodCall(@NotNull PsiElement element) {
    return element.getParent() instanceof GrReferenceExpression
           && element.getParent().getParent() instanceof GrMethodCallExpression;
  }
private static boolean parentIsReferenceInMethodCall(@NotNull PsiElement element)