public class InstanceofInstruction extends BinopInstruction
STRING_EQUALITY_BY_CONTENT
Constructor and Description |
---|
InstanceofInstruction(PsiExpression psiAnchor,
PsiExpression left,
PsiType castType) |
InstanceofInstruction(PsiMethodCallExpression psiAnchor)
Construct a class object instanceof check (e.g.
|
Modifier and Type | Method and Description |
---|---|
DfaInstructionState[] |
accept(DataFlowRunner runner,
DfaMemoryState stateBefore,
InstructionVisitor visitor) |
PsiType |
getCastType() |
PsiExpression |
getLeft() |
boolean |
isClassObjectCheck() |
getExpressionRange, getOperationSign, getResultType, isWidened, toString, widenOperationInLoop
getExpression
getIndex, nextInstruction, setIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIndex
public InstanceofInstruction(PsiExpression psiAnchor, PsiExpression left, PsiType castType)
public InstanceofInstruction(PsiMethodCallExpression psiAnchor)
psiAnchor
- anchor callpublic DfaInstructionState[] accept(DataFlowRunner runner, DfaMemoryState stateBefore, InstructionVisitor visitor)
accept
in class BinopInstruction
public PsiExpression getLeft()
public PsiType getCastType()
public boolean isClassObjectCheck()