mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
notnull
This commit is contained in:
+8
-5
@@ -29,7 +29,6 @@ import com.intellij.psi.util.PsiUtilCore;
|
||||
import com.intellij.util.*;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* @author max
|
||||
@@ -39,12 +38,16 @@ public class ClassInheritorsSearch extends ExtensibleQueryFactory<PsiClass, Clas
|
||||
public static final ClassInheritorsSearch INSTANCE = new ClassInheritorsSearch();
|
||||
|
||||
public static class SearchParameters implements QueryParameters {
|
||||
@NotNull private final PsiClass myClass;
|
||||
@NotNull private final SearchScope myScope;
|
||||
@NotNull
|
||||
private final PsiClass myClass;
|
||||
@NotNull
|
||||
private final SearchScope myScope;
|
||||
private final boolean myCheckDeep;
|
||||
private final boolean myCheckInheritance;
|
||||
private final boolean myIncludeAnonymous;
|
||||
@NotNull private final Condition<String> myNameCondition;
|
||||
@NotNull
|
||||
private final Condition<String> myNameCondition;
|
||||
@NotNull
|
||||
private final Project myProject;
|
||||
|
||||
public SearchParameters(@NotNull final PsiClass aClass, @NotNull SearchScope scope, final boolean checkDeep, final boolean checkInheritance, boolean includeAnonymous) {
|
||||
@@ -68,7 +71,7 @@ public class ClassInheritorsSearch extends ExtensibleQueryFactory<PsiClass, Clas
|
||||
return myClass;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@NotNull
|
||||
@Override
|
||||
public Project getProject() {
|
||||
return myProject;
|
||||
|
||||
Reference in New Issue
Block a user