Package jminusminus

Class UnBoxing

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

class UnBoxing extends Object implements Converter
An un-boxing converter.
  • Constructor Details

    • UnBoxing

      public UnBoxing(Type source, Type target, String methodName)
      Constructs an UnBoxing converter.
      Parameters:
      source - the source type.
      target - the target type.
      methodName - the Java method to invoke for the conversion.
  • 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.