|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.javaflow.bytecode.transformation.bcel.analyser.ExecutionPath
public final class ExecutionPath
List of InstructionContext that represents a sequence of an execution.
This object is immutable. The sequence is represented in left-associative style; that is, a sequence of [a,b,c,d] is represented as prev=[a,b,c] and last=d.
| Field Summary | |
|---|---|
static ExecutionPath |
EMPTY
Singleton ExecutionPath that represents an empty sequence []. |
| Method Summary | |
|---|---|
ExecutionPath |
append(InstructionContext ins)
Creates a new ExecutionPath that has
[... |
InstructionContext |
lastExecutionJSR()
Returns the InstructionContextImpl with an JSR/JSR_W that was last in the ExecutionChain, without a corresponding RET, i.e. |
java.lang.String |
toString()
Returns a human readable representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ExecutionPath EMPTY
ExecutionPath that represents an empty sequence [].
| Method Detail |
|---|
public ExecutionPath append(InstructionContext ins)
ExecutionPath that has
[... list in this ExecutionPath ..., ins].
public InstructionContext lastExecutionJSR()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||