@Nonnull
  public JSInvocation invoke (@Nullable final IJSExpression aExpr, @Nonnull final JSMethod aMethod)
  {
    final JSInvocation aInvocation = new JSInvocation (aExpr, aMethod);
    return addStatement (aInvocation);
  }
@ Nonnull public JSInvocation invoke ( @ Nullable final IJSExpression aExpr , @ Nonnull final JSMethod aMethod ) { final JSInvocation aInvocation = new JSInvocation ( aExpr , aMethod ) ; return addStatement ( aInvocation ) ; }
Creates an invocation statement and adds it to this block.

@param aExpr
JExpression evaluating to the class or object upon which the method
will be invoked
@param aMethod
JMethod to invoke
@return Newly generated {@link JSInvocation}