public class LocalsControlFlowPolicy extends java.lang.Object implements ControlFlowPolicy
Constructor and Description |
---|
LocalsControlFlowPolicy(PsiElement codeFragment) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
PsiVariable |
getUsedVariable(PsiReferenceExpression refExpr) |
int |
hashCode() |
boolean |
isLocalVariableAccepted(PsiLocalVariable psiVariable) |
boolean |
isParameterAccepted(PsiParameter psiParameter) |
public LocalsControlFlowPolicy(PsiElement codeFragment)
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 boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object