public class ConditionalGotoInstruction extends Instruction implements BranchingInstruction
Constructor and Description |
---|
ConditionalGotoInstruction(ControlFlow.ControlFlowOffset offset,
boolean isNegated,
PsiExpression psiAnchor) |
Modifier and Type | Method and Description |
---|---|
DfaInstructionState[] |
accept(DataFlowRunner runner,
DfaMemoryState stateBefore,
InstructionVisitor visitor) |
int |
getOffset() |
PsiExpression |
getPsiAnchor() |
boolean |
isNegated() |
boolean |
isTarget(boolean whenTrueOnStack,
Instruction target) |
void |
setOffset(int offset) |
java.lang.String |
toString() |
getIndex, nextInstruction, setIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIndex
public ConditionalGotoInstruction(ControlFlow.ControlFlowOffset offset, boolean isNegated, PsiExpression psiAnchor)
public boolean isNegated()
public PsiExpression getPsiAnchor()
public DfaInstructionState[] accept(DataFlowRunner runner, DfaMemoryState stateBefore, InstructionVisitor visitor)
accept
in class Instruction
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isTarget(boolean whenTrueOnStack, Instruction target)
public int getOffset()
public void setOffset(int offset)