public MethodCall toMethodCall(IMethod method) { MethodCall call = new MethodCall(this.position); call.instance = this.instance; call.name = this.name; call.method = method; call.dotless = this.dotless; call.arguments = EmptyArguments.INSTANCE; return call; }