|
BCEL's class file verifier "JustIce" | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines properties of JVM bytecode subroutines. Note that it is 'abused' to maintain the top-level code in a consistent fashion, too.
Method Summary | |
boolean |
contains(de.fub.bytecode.generic.InstructionHandle inst)
Returns if the given InstructionHandle refers to an instruction that is part of this subroutine. |
int[] |
getAccessedLocalsIndices()
Returns an int[] containing the indices of the local variable slots accessed by this Subroutine (read-accessed, write-accessed or both); local variables referenced by subroutines of this subroutine are not included. |
de.fub.bytecode.generic.InstructionHandle[] |
getEnteringJsrInstructions()
Returns all the JsrInstructions that have the first instruction of this subroutine as their target. |
de.fub.bytecode.generic.InstructionHandle[] |
getInstructions()
Returns all instructions that together form this subroutine. |
de.fub.bytecode.generic.InstructionHandle |
getLeavingRET()
Returns the one and only RET that leaves the subroutine. |
int[] |
getRecursivelyAccessedLocalsIndices()
Returns an int[] containing the indices of the local variable slots accessed by this Subroutine (read-accessed, write-accessed or both); local variables referenced by subroutines of this subroutine are included. |
Subroutine[] |
subSubs()
Returns the subroutines that are directly called from this subroutine. |
Method Detail |
public de.fub.bytecode.generic.InstructionHandle[] getEnteringJsrInstructions()
public de.fub.bytecode.generic.InstructionHandle getLeavingRET()
Subroutines
public de.fub.bytecode.generic.InstructionHandle[] getInstructions()
public boolean contains(de.fub.bytecode.generic.InstructionHandle inst)
getInstructions()
public int[] getAccessedLocalsIndices()
getRecursivelyAccessedLocalsIndices()
public int[] getRecursivelyAccessedLocalsIndices()
getAccessedLocalsIndices()
public Subroutine[] subSubs()
|
(c) Enver Haase 2001, released under the FSF's "GPL version 2" license. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |