public class ControlFlowWrapper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ControlFlowWrapper.ExitStatementsNotSameException |
Constructor and Description |
---|
ControlFlowWrapper(Project project,
PsiElement codeFragment,
PsiElement[] elements) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ControlFlowUtil.VariableInfo> |
getInitializedTwice() |
java.util.List<PsiVariable> |
getInputVariables(PsiElement codeFragment,
PsiElement[] elements,
PsiVariable[] outputVariables) |
PsiVariable [] |
getOutputVariables() |
boolean |
needVariableValueAfterEnd(PsiVariable variable) |
java.util.Collection<PsiStatement> |
prepareExitStatements(PsiElement [] elements,
PsiElement enclosingCodeFragment) |
public ControlFlowWrapper(Project project, PsiElement codeFragment, PsiElement[] elements) throws PrepareFailedException
PrepareFailedException
public java.util.Collection<PsiStatement> prepareExitStatements(PsiElement [] elements, PsiElement enclosingCodeFragment) throws ControlFlowWrapper.ExitStatementsNotSameException
public boolean needVariableValueAfterEnd(PsiVariable variable)
public PsiVariable [] getOutputVariables()
public java.util.List<PsiVariable> getInputVariables(PsiElement codeFragment, PsiElement[] elements, PsiVariable[] outputVariables)
public java.util.Collection<ControlFlowUtil.VariableInfo> getInitializedTwice()