GitOrigin-RevId: 11608ce190deb50f1f5eb6a1843d86d2f179ce4b
This commit is contained in:
Sergey Ignatov
2019-11-19 17:05:35 +00:00
committed by intellij-monorepo-bot
parent 1df6c96014
commit 14b78ce15d
2 changed files with 2 additions and 11 deletions
@@ -22,7 +22,7 @@ import org.jetbrains.annotations.NotNull;
public abstract class GroupByNullnessActionBase extends AnAction {
protected final SliceTreeBuilder myTreeBuilder;
private static final String TEXT = "Group by leaf expression nullness";
private static final String TEXT = "Group by Leaf Expression Nullness";
protected GroupByNullnessActionBase(@NotNull SliceTreeBuilder treeBuilder) {
super(TEXT, "Determine whether null can flow into this expression", AllIcons.Debugger.Db_disabled_breakpoint_process);
@@ -57,7 +57,7 @@ public class JavaSliceUsage extends SliceUsage {
@Override
protected void processUsagesFlownDownTo(PsiElement element, Processor<SliceUsage> uniqueProcessor) {
SliceUtil.processUsagesFlownDownTo(element, uniqueProcessor, this, mySubstitutor, indexNesting,syntheticField);
SliceUtil.processUsagesFlownDownTo(element, uniqueProcessor, this, mySubstitutor, indexNesting, syntheticField);
}
@Override
@@ -73,15 +73,6 @@ public class JavaSliceUsage extends SliceUsage {
return mySubstitutor;
}
public int getIndexNesting() {
return indexNesting;
}
@NotNull
public String getSyntheticField() {
return syntheticField;
}
@Override
public boolean canBeLeaf() {
return indexNesting == 0 && super.canBeLeaf();