Package jminusminus
Interface Converter
- All Known Implementing Classes:
Boxing
,D2I
,D2L
,I2C
,I2D
,I2L
,Identity
,L2D
,L2I
,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.
-