public class AllVariablesControlFlowPolicy extends java.lang.Object implements ControlFlowPolicy
Constructor and Description |
---|
AllVariablesControlFlowPolicy() |
Modifier and Type | Method and Description |
---|---|
static AllVariablesControlFlowPolicy |
getInstance() |
PsiVariable |
getUsedVariable(PsiReferenceExpression refExpr) |
boolean |
isLocalVariableAccepted(PsiLocalVariable psiVariable) |
boolean |
isParameterAccepted(PsiParameter psiParameter) |
public PsiVariable getUsedVariable(PsiReferenceExpression refExpr)
getUsedVariable
in interface ControlFlowPolicy
public boolean isParameterAccepted(PsiParameter psiParameter)
isParameterAccepted
in interface ControlFlowPolicy
public boolean isLocalVariableAccepted(PsiLocalVariable psiVariable)
isLocalVariableAccepted
in interface ControlFlowPolicy
public static AllVariablesControlFlowPolicy getInstance()