CodeLocalsShifter is a CodeTransform shifting locals to
newly allocated positions to avoid conflicts during code injection.
Locals pointing to the receiver or to method arguments slots are never shifted.
All locals pointing beyond the method arguments are re-indexed in order of appearance.
| Modifier and Type | Method and Description |
|---|---|
| public static CodeLocalsShifter | Returns: new instance ofCodeLocalsShifterflags of the method to construct methodFlags, MethodTypeDesc CodeLocalsShifter fordescriptor of the method to construct methodDescriptor)CodeLocalsShifter forCreates a new instance of |
| of | back to summary |
|---|---|
| public static CodeLocalsShifter of(AccessFlags methodFlags, MethodTypeDesc methodDescriptor) Creates a new instance of
| |