String className = expectedClass.getName();  out.print("(("); out.printClass(expectedClass); out.print(") env.cast("); out.printClass(expectedClass); out.print(".class, ");  expr.generateValue(out); out.print("))");
expr.generateString(out);
    public void generate(PhpWriter out, Expr expr, Class expectedClass)      throws IOException    {      String className = expectedClass.getName();      out.print("((");      out.printClass(expectedClass);      out.print(") env.cast(");      out.printClass(expectedClass);      out.print(".class, ");      expr.generateValue(out);      out.print("))");    }