protected static interface MethodVariableAccess.TypeCastingHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
MethodVariableAccess.TypeCastingHandler.ForBridgeTarget
A
MethodVariableAccess.TypeCastingHandler
that casts all parameters that are loaded for a method to their target method's type. |
static class |
MethodVariableAccess.TypeCastingHandler.NoOp
A non-operative implementation of a
MethodVariableAccess.TypeCastingHandler
that merely returns the given stack manipulation. |
| Modifier and Type | Method and Description |
|---|---|
StackManipulation |
wrapNext(StackManipulation variableAccess,
TypeDescription parameterType)
Returns the given stack manipulation while possibly wrapping the operation by a type casting
if this is required.
|
StackManipulation wrapNext(StackManipulation variableAccess, TypeDescription parameterType)
variableAccess - The stack manipulation that represents the variable access.parameterType - The type of the loaded variable that is represented by the stack manipulation.Copyright © 2014–2015. All rights reserved.