final class Subroutine
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<JumpInsnNode> |
callers
The JSR instructions that jump to this subroutine.
|
(package private) boolean[] |
localsUsed
The local variables that are read or written by this subroutine.
|
(package private) LabelNode |
start
The start of this subroutine.
|
| Constructor and Description |
|---|
Subroutine(LabelNode start,
int maxLocals,
JumpInsnNode caller)
Constructs a new
Subroutine. |
Subroutine(Subroutine subroutine)
Constructs a copy of the given
Subroutine. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
merge(Subroutine subroutine)
Merges the given subroutine into this subroutine.
|
final LabelNode start
final boolean[] localsUsed
final java.util.List<JumpInsnNode> callers
Subroutine(LabelNode start, int maxLocals, JumpInsnNode caller)
Subroutine.start - the start of this subroutine.maxLocals - the local variables that are read or written by this subroutine.caller - a JSR instruction that jump to this subroutine.Subroutine(Subroutine subroutine)
Subroutine.subroutine - the subroutine to copy.public boolean merge(Subroutine subroutine)
subroutine - another subroutine. This subroutine is left unchanged by this method.