Package jminusminus
Interface Converter
- All Known Implementing Classes:
Boxing,I2C,Identity,NarrowReference,UnBoxing
interface Converter
A Converter encapsulates any (possibly none) code necessary to perform a cast operation.
-
Field Details
-
Identity
For identity conversion (no run-time code needed). -
WidenReference
For widening conversion (no run-time code needed).
-
-
Method Details
-
codegen
Emits code necessary to convert (cast) a source type to a target type.- Parameters:
output- the code emitter.
-