protected static enum Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher extends Enum<Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher>
Enum Constant and Description |
---|
BOOLEAN
A boxing dispatcher for the
boolean type. |
BYTE
A boxing dispatcher for the
byte type. |
CHARACTER
A boxing dispatcher for the
char type. |
DOUBLE
A boxing dispatcher for the
double type. |
FLOAT
A boxing dispatcher for the
float type. |
INTEGER
A boxing dispatcher for the
int type. |
LONG
A boxing dispatcher for the
long type. |
SHORT
A boxing dispatcher for the
short type. |
Modifier and Type | Method and Description |
---|---|
protected StackSize |
getStackSize()
Returns the stack size of the primitive value.
|
protected void |
loadBoxed(MethodVisitor methodVisitor,
int offset)
Loads the value as a boxed version onto the stack.
|
protected static Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher |
of(TypeDefinition typeDefinition)
Resolves a boxing dispatcher for the supplied primitive type.
|
protected void |
storeUnboxed(MethodVisitor methodVisitor,
int offset)
Stores the value as a unboxed version onto the stack.
|
String |
toString() |
static Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher BOOLEAN
boolean
type.public static final Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher BYTE
byte
type.public static final Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher SHORT
short
type.public static final Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher CHARACTER
char
type.public static final Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher INTEGER
int
type.public static final Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher LONG
long
type.public static final Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher FLOAT
float
type.public static final Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher DOUBLE
double
type.public static Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher[] values()
for (Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher c : Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher.values()) System.out.println(c);
public static Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected static Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher of(TypeDefinition typeDefinition)
typeDefinition
- A description of a primitive type.protected void loadBoxed(MethodVisitor methodVisitor, int offset)
methodVisitor
- the method visitor for which to load the value.offset
- The offset of the primitive value.protected void storeUnboxed(MethodVisitor methodVisitor, int offset)
methodVisitor
- the method visitor for which to store the value.offset
- The offset of the primitive value.protected StackSize getStackSize()
public String toString()
toString
in class Enum<Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher>
Copyright © 2014–2016. All rights reserved.