public interface Subroutine
Modifier and Type | Method and Description |
---|---|
boolean |
contains(org.apache.bcel.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.
|
org.apache.bcel.generic.InstructionHandle[] |
getEnteringJsrInstructions()
Returns all the JsrInstructions that have the
first instruction of this subroutine as their target.
|
org.apache.bcel.generic.InstructionHandle[] |
getInstructions()
Returns all instructions that together form this subroutine.
|
org.apache.bcel.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.
|
org.apache.bcel.generic.InstructionHandle[] getEnteringJsrInstructions()
org.apache.bcel.generic.InstructionHandle getLeavingRET()
org.apache.bcel.verifier.structurals.Subroutines
org.apache.bcel.generic.InstructionHandle[] getInstructions()
boolean contains(org.apache.bcel.generic.InstructionHandle inst)
getInstructions()
int[] getAccessedLocalsIndices()
int[] getRecursivelyAccessedLocalsIndices()
getAccessedLocalsIndices()
Subroutine[] subSubs()
Copyright © 2004–2013. All rights reserved.