Package org.jboss.classfilewriter.util
Class Boxing
java.lang.Object
org.jboss.classfilewriter.util.Boxing
This class is responsible for generating bytecode fragments to box/unbox whatever happens to be on the top of the stack.
It is the calling codes responsibility to make sure that the correct type is on the stack
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
boxByte
(CodeAttribute bc) static void
boxChar
(CodeAttribute bc) static void
static void
static void
boxIfNessesary
(CodeAttribute ca, String desc) static void
boxInt
(CodeAttribute bc) static void
boxLong
(CodeAttribute bc) static void
static CodeAttribute
unbox
(CodeAttribute ca, String desc) static CodeAttribute
static CodeAttribute
static CodeAttribute
static CodeAttribute
static CodeAttribute
static CodeAttribute
static CodeAttribute
static CodeAttribute
-
Constructor Details
-
Boxing
public Boxing()
-
-
Method Details
-
boxIfNessesary
-
unbox
-
boxInt
-
boxLong
-
boxShort
-
boxByte
-
boxFloat
-
boxDouble
-
boxChar
-
boxBoolean
-
unboxInt
-
unboxLong
-
unboxShort
-
unboxByte
-
unboxFloat
-
unboxDouble
-
unboxChar
-
unboxBoolean
-