(TypeMirror newType)
| 59 | // TODO(ronshapiro): consider overloads that take a Types and Elements and only cast if necessary, |
| 60 | // or just embedding a Types/Elements instance in an Expression. |
| 61 | Expression castTo(TypeMirror newType) { |
| 62 | return create(newType, "($T) $L", newType, codeBlock); |
| 63 | } |
| 64 | |
| 65 | /** The {@link TypeMirror type} to which the expression evaluates. */ |
| 66 | TypeMirror type() { |