Interface MethodVariableAccess.MethodLoading.TypeCastingHandler
-
- All Known Implementing Classes:
MethodVariableAccess.MethodLoading.TypeCastingHandler.ForBridgeTarget,MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp
- Enclosing class:
- MethodVariableAccess.MethodLoading
protected static interface MethodVariableAccess.MethodLoading.TypeCastingHandlerA type casting handler allows a type transformation of all arguments of a method after loading them onto the operand stack.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMethodVariableAccess.MethodLoading.TypeCastingHandler.ForBridgeTargetA type casting handler that casts all parameters of a method to the parameter types of a compatible method with covariant parameter types.static classMethodVariableAccess.MethodLoading.TypeCastingHandler.NoOpA non-operative type casting handler.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StackManipulationofIndex(TypeDescription parameterType, int index)Yields a stack transformation to transform the given argument of the method for which the arguments are loaded onto the operand stack.
-
-
-
Method Detail
-
ofIndex
StackManipulation ofIndex(TypeDescription parameterType, int index)
Yields a stack transformation to transform the given argument of the method for which the arguments are loaded onto the operand stack.- Parameters:
parameterType- The parameter type that is to be transformed.index- The index of the transformed parameter.- Returns:
- A transformation to apply after loading the parameter onto the operand stack.
-
-