mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup, notnull
This commit is contained in:
@@ -32,7 +32,7 @@ public class PyClassFindUsagesHandler extends FindUsagesHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isSearchForTextOccurencesAvailable(PsiElement psiElement, boolean isSingleFile) {
|
||||
protected boolean isSearchForTextOccurencesAvailable(@NotNull PsiElement psiElement, boolean isSingleFile) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ public class PyFunctionFindUsagesHandler extends FindUsagesHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isSearchForTextOccurencesAvailable(PsiElement psiElement, boolean isSingleFile) {
|
||||
protected boolean isSearchForTextOccurencesAvailable(@NotNull PsiElement psiElement, boolean isSingleFile) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ public class PyModuleFindUsagesHandler extends FindUsagesHandler {
|
||||
isSingleFile,
|
||||
this) {
|
||||
@Override
|
||||
public void configureLabelComponent(final SimpleColoredComponent coloredComponent) {
|
||||
public void configureLabelComponent(@NotNull final SimpleColoredComponent coloredComponent) {
|
||||
coloredComponent.append(myElement instanceof PsiDirectory ? "Package " : "Module ");
|
||||
coloredComponent.append(myElement.getName(), SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user