@Override
  public JCExpression inline(Inliner inliner) throws CouldNotResolveImportException {
    JCExpression expression = getExpression().inline(inliner);
    if (expression.toString().equals(CONVERT_TO_IDENT)) {
      return inliner.maker().Ident(getIdentifier().inline(inliner));
    }
    // TODO(lowasser): consider inlining this.foo() as foo()
    return inliner.maker().Select(getExpression().inline(inliner), getIdentifier().inline(inliner));
  }
@Test
  public void inline() {
    ULiteral fooLit = ULiteral.stringLit("foo");
    UType type = mock(UType.class);
    UMemberSelect memberSelect = UMemberSelect.create(fooLit, "length", type);
    assertInlines("\"foo\".length", memberSelect);
  }