Methods Summary |
---|
public boolean | contains(com.sun.org.apache.bcel.internal.generic.InstructionHandle inst)Returns if the given InstructionHandle refers to an instruction
that is part of this subroutine. This is a convenience method
that saves iteration over the InstructionHandle objects returned
by getInstructions().
|
public 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.
|
public com.sun.org.apache.bcel.internal.generic.InstructionHandle[] | getEnteringJsrInstructions()Returns all the JsrInstructions that have the
first instruction of this subroutine as their target.
Must not be invoked on the 'top-level subroutine'.
|
public com.sun.org.apache.bcel.internal.generic.InstructionHandle[] | getInstructions()Returns all instructions that together form this subroutine.
Note that an instruction is part of exactly one subroutine
(the top-level code is considered to be a special subroutine) -
else it is not reachable at all (dead code).
|
public com.sun.org.apache.bcel.internal.generic.InstructionHandle | getLeavingRET()Returns the one and only RET that leaves the subroutine.
Note that JustIce has a pretty rigid notion of a subroutine.
Must not be invoked on the 'top-level subroutine'.
|
public 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.
|
public com.sun.org.apache.bcel.internal.verifier.structurals.Subroutine[] | subSubs()Returns the subroutines that are directly called from this subroutine.
|