@Override
  public JCMethodInvocation inline(Inliner inliner) throws CouldNotResolveImportException {
    return inliner
        .maker()
        .Apply(
            inliner.<JCExpression>inlineList(getTypeArguments()),
            getMethodSelect().inline(inliner),
            inliner.<JCExpression>inlineList(getArguments()));
  }
@Test
  public void inline() throws CouldNotResolveImportException {
    UExpression fooIdent = mock(UExpression.class);
    when(fooIdent.inline(isA(Inliner.class)))
        .thenReturn(inliner.maker().Ident(inliner.asName("foo")));
    ULiteral oneLit = ULiteral.intLit(1);
    ULiteral barLit = ULiteral.stringLit("bar");
    UMethodInvocation invocation = UMethodInvocation.create(fooIdent, oneLit, barLit);
    assertInlines("foo(1, \"bar\")", invocation);
  }