public class LocalAllocator extends java.lang.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,
java.lang.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 java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic static int allocate(MethodData info, java.lang.String type) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic static int allocate(MethodData info) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException