public abstract class SliceNullnessAnalyzerBase
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SliceNullnessAnalyzerBase.NullAnalysisResult |
Constructor and Description |
---|
SliceNullnessAnalyzerBase(SliceLeafEquality leafEquality,
SliceLanguageSupportProvider provider) |
Modifier and Type | Method and Description |
---|---|
SliceNullnessAnalyzerBase.NullAnalysisResult |
calcNullableLeaves(SliceNode root,
AbstractTreeStructure treeStructure,
java.util.Map<SliceNode,SliceNullnessAnalyzerBase.NullAnalysisResult> map) |
protected Nullability |
checkNullability(PsiElement element)
Implementors must override this method; default implementation just throws UnsupportedOperationException.
|
static java.util.Map<SliceNode,SliceNullnessAnalyzerBase.NullAnalysisResult> |
createMap() |
SliceRootNode |
createNewTree(SliceNullnessAnalyzerBase.NullAnalysisResult result,
SliceRootNode oldRoot,
java.util.Map<SliceNode,SliceNullnessAnalyzerBase.NullAnalysisResult> map) |
void |
startAnalyzeNullness(AbstractTreeStructure treeStructure,
java.lang.Runnable finish) |
public SliceNullnessAnalyzerBase(SliceLeafEquality leafEquality, SliceLanguageSupportProvider provider)
public SliceRootNode createNewTree(SliceNullnessAnalyzerBase.NullAnalysisResult result, SliceRootNode oldRoot, java.util.Map<SliceNode,SliceNullnessAnalyzerBase.NullAnalysisResult> map)
public void startAnalyzeNullness(AbstractTreeStructure treeStructure, java.lang.Runnable finish)
public static java.util.Map<SliceNode,SliceNullnessAnalyzerBase.NullAnalysisResult> createMap()
public SliceNullnessAnalyzerBase.NullAnalysisResult calcNullableLeaves(SliceNode root, AbstractTreeStructure treeStructure, java.util.Map<SliceNode,SliceNullnessAnalyzerBase.NullAnalysisResult> map)
protected Nullability checkNullability(PsiElement element)
element
- element to find nullability for