public class LocalAllocator extends Object implements MethodData.Results
| Modifier and Type | Method and Description |
|---|---|
static int |
allocate(MethodData info)
Allocates a new local that will fit any type.
|
static int |
allocate(MethodData info,
int count)
Allocates a new local variable of the specified type.
|
static int |
allocate(MethodData info,
String type) |
boolean |
notifyUpdate(MethodData info,
IInstruction[] newInstructions,
ExceptionHandler[][] newHandlers,
int[] newInstructionMap)
This should not be called by clients.
|
public boolean notifyUpdate(MethodData info, IInstruction[] newInstructions, ExceptionHandler[][] newHandlers, int[] newInstructionMap)
notifyUpdate in interface MethodData.Resultsinfo - the method data this annotation is attached tonewInstructions - the instructions the method will change tonewHandlers - the handler lists the method will change tonewInstructionMap - the instructions-to-bytecodes map the method will change topublic static int allocate(MethodData info, int count) throws IllegalArgumentException
IllegalArgumentExceptionpublic static int allocate(MethodData info, String type) throws IllegalArgumentException
IllegalArgumentExceptionpublic static int allocate(MethodData info) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2019. All rights reserved.