public static Expression getArguments(Expression invocation) {
    if (invocation instanceof MethodCallExpression)
      return ((MethodCallExpression) invocation).getArguments();
    if (invocation instanceof StaticMethodCallExpression)
      return ((StaticMethodCallExpression) invocation).getArguments();
    if (invocation instanceof ConstructorCallExpression)
      return ((ConstructorCallExpression) invocation).getArguments();
    return null;
  }
Tells if the source position for the given AST node is plausible.
Does not imply that the source position is correct.

@param node an AST node
@return <tt>true</tt> iff the AST node has a plausible source position
spock-core/src/main/java/org/spockframework/compiler/AstUtil.java