public class TypeCastInstruction extends ExpressionPushingInstruction<PsiTypeCastExpression>
Constructor and Description |
---|
TypeCastInstruction(PsiTypeCastExpression castExpression,
PsiExpression casted,
PsiType castTo,
DfaControlTransferValue value) |
Modifier and Type | Method and Description |
---|---|
DfaInstructionState[] |
accept(DataFlowRunner runner,
DfaMemoryState stateBefore,
InstructionVisitor visitor) |
PsiExpression |
getCasted() |
DfaControlTransferValue |
getCastExceptionTransfer() |
PsiType |
getCastTo() |
java.lang.String |
toString() |
getExpression, getExpressionRange
getIndex, nextInstruction, setIndex
public TypeCastInstruction(PsiTypeCastExpression castExpression, PsiExpression casted, PsiType castTo, DfaControlTransferValue value)
public DfaControlTransferValue getCastExceptionTransfer()
public PsiExpression getCasted()
public PsiType getCastTo()
public DfaInstructionState[] accept(DataFlowRunner runner, DfaMemoryState stateBefore, InstructionVisitor visitor)
accept
in class Instruction
public java.lang.String toString()
toString
in class java.lang.Object