### Question:
UNewClass extends UExpression implements NewClassTree { @Override public JCNewClass inline(Inliner inliner) throws CouldNotResolveImportException { return inliner .maker() .NewClass( (getEnclosingExpression() == null) ? null : getEnclosingExpression().inline(inliner), inliner.<JCExpression>inlineList(getTypeArguments()), getIdentifier().inline(inliner), inliner.<JCExpression>inlineList(getArguments()), (getClassBody() == null) ? null : getClassBody().inline(inliner)); }  static UNewClass create(
      UExpression enclosingExpression,
      List<? extends UExpression> typeArguments,
      UExpression identifier,
      List<UExpression> arguments,
      @Nullable UClassDecl classBody); static UNewClass create(
      List<? extends UExpression> typeArguments, UExpression identifier, UExpression... arguments); static UNewClass create(UExpression identifier, UExpression... arguments); @Override @Nullable abstract UExpression getEnclosingExpression(); @Override abstract ImmutableList<UExpression> getTypeArguments(); @Override abstract UExpression getIdentifier(); @Override abstract ImmutableList<UExpression> getArguments(); @Override @Nullable abstract UClassDecl getClassBody(); @Override @Nullable Choice<Unifier> visitNewClass(NewClassTree newClass, @Nullable Unifier unifier); @Override Kind getKind(); @Override R accept(TreeVisitor<R, D> visitor, D data); @Override JCNewClass inline(Inliner inliner);  }### Answer:
@Test public void inline() { ImportPolicy.bind(context, ImportPolicy.IMPORT_TOP_LEVEL); assertInlines( "new String(\"123\")", UNewClass.create(UClassIdent.create("java.lang.String"), ULiteral.stringLit("123"))); }