Package jminusminus

Class Boxing

java.lang.Object
jminusminus.Boxing
All Implemented Interfaces:
Converter

class Boxing extends Object implements Converter
A boxing converter.
  • Constructor Details

    • Boxing

      public Boxing(Type source, Type target)
      Constructs a Boxing converter.
      Parameters:
      source - the source type.
      target - the target type.
  • Method Details

    • codegen

      public void codegen(CLEmitter output)
      Emits code necessary to convert (cast) a source type to a target type.
      Specified by:
      codegen in interface Converter
      Parameters:
      output - the code emitter.