Interface MethodData.Results
- All Known Implementing Classes:
InstructionTypeCounter
,LocalAllocator
,ThisAssignmentChecker
- Enclosing class:
MethodData
public static interface MethodData.Results
Annotation objects implement this Results interface. The Results interface is used to notify an
annotation that the method code has been updated.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
notifyUpdate
(MethodData info, IInstruction[] newInstructions, ExceptionHandler[][] newHandlers, int[] newInstructionMap) This method is called just before the code for a method changes.
-
Method Details
-
notifyUpdate
boolean notifyUpdate(MethodData info, IInstruction[] newInstructions, ExceptionHandler[][] newHandlers, int[] newInstructionMap) This method is called just before the code for a method changes. The existing instructions, handlers, etc can be read from the current info.- Parameters:
info
- 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 to- Returns:
- true to remove the object from the info set, for example because the annotation is now invalid
-