cleanup, notnull

This commit is contained in:
Alexey Kudravtsev
2012-08-31 14:56:46 +04:00
parent e03ffb5ee7
commit bd9c80cffd
3 changed files with 3 additions and 3 deletions
@@ -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);
}