Minor: fix warning about annotation absence

This commit is contained in:
Nikolay Krasko
2015-10-02 01:38:48 +03:00
committed by Nikolay Krasko
parent 4a3f53b322
commit d999000705
11 changed files with 18 additions and 11 deletions
@@ -42,8 +42,9 @@ public class JetAnnotationsIndex extends StringStubIndexExtension<JetAnnotationE
return KEY;
}
@NotNull
@Override
public Collection<JetAnnotationEntry> get(String s, Project project, @NotNull GlobalSearchScope scope) {
public Collection<JetAnnotationEntry> get(@NotNull String s, @NotNull Project project, @NotNull GlobalSearchScope scope) {
return super.get(s, project, JetSourceFilterScope.kotlinSourcesAndLibraries(scope, project));
}
@@ -43,8 +43,9 @@ public class JetClassShortNameIndex extends StringStubIndexExtension<JetClassOrO
return KEY;
}
@NotNull
@Override
public Collection<JetClassOrObject> get(String s, Project project, @NotNull GlobalSearchScope scope) {
public Collection<JetClassOrObject> get(@NotNull String s, @NotNull Project project, @NotNull GlobalSearchScope scope) {
return super.get(s, project, JetSourceFilterScope.kotlinSourcesAndLibraries(scope, project));
}
}
@@ -45,7 +45,7 @@ public class JetFullClassNameIndex extends StringStubIndexExtension<JetClassOrOb
@NotNull
@Override
public Collection<JetClassOrObject> get(String fqName, Project project, @NotNull GlobalSearchScope scope) {
public Collection<JetClassOrObject> get(@NotNull String fqName, @NotNull Project project, @NotNull GlobalSearchScope scope) {
return super.get(fqName, project, JetSourceFilterScope.kotlinSourcesAndLibraries(scope, project));
}
}
@@ -42,8 +42,9 @@ public class JetFunctionShortNameIndex extends StringStubIndexExtension<JetNamed
return KEY;
}
@NotNull
@Override
public Collection<JetNamedFunction> get(String s, Project project, @NotNull GlobalSearchScope scope) {
public Collection<JetNamedFunction> get(@NotNull String s, @NotNull Project project, @NotNull GlobalSearchScope scope) {
return super.get(s, project, JetSourceFilterScope.kotlinSourcesAndLibraries(scope, project));
}
}
@@ -42,8 +42,9 @@ public class JetPropertyShortNameIndex extends StringStubIndexExtension<JetPrope
return KEY;
}
@NotNull
@Override
public Collection<JetProperty> get(String s, Project project, @NotNull GlobalSearchScope scope) {
public Collection<JetProperty> get(@NotNull String s, @NotNull Project project, @NotNull GlobalSearchScope scope) {
return super.get(s, project, JetSourceFilterScope.kotlinSourcesAndLibraries(scope, project));
}
}
@@ -45,7 +45,7 @@ public class JetSuperClassIndex extends StringStubIndexExtension<JetClassOrObjec
@NotNull
@Override
public Collection<JetClassOrObject> get(String s, Project project, GlobalSearchScope scope) {
public Collection<JetClassOrObject> get(@NotNull String s, @NotNull Project project, @NotNull GlobalSearchScope scope) {
return super.get(s, project, JetSourceFilterScope.kotlinSourcesAndLibraries(scope, project));
}
}
@@ -42,8 +42,9 @@ public class JetTopLevelClassByPackageIndex extends StringStubIndexExtension<Jet
return KEY;
}
@NotNull
@Override
public Collection<JetClassOrObject> get(String fqName, Project project, @NotNull GlobalSearchScope scope) {
public Collection<JetClassOrObject> get(@NotNull String fqName, @NotNull Project project, @NotNull GlobalSearchScope scope) {
return super.get(fqName, project, JetSourceFilterScope.kotlinSourcesAndLibraries(scope, project));
}
}
@@ -42,8 +42,9 @@ public class JetTopLevelFunctionByPackageIndex extends StringStubIndexExtension<
return KEY;
}
@NotNull
@Override
public Collection<JetNamedFunction> get(String fqName, Project project, @NotNull GlobalSearchScope scope) {
public Collection<JetNamedFunction> get(@NotNull String fqName, @NotNull Project project, @NotNull GlobalSearchScope scope) {
return super.get(fqName, project, JetSourceFilterScope.kotlinSourcesAndLibraries(scope, project));
}
}
@@ -48,7 +48,7 @@ public class JetTopLevelFunctionFqnNameIndex extends StringStubIndexExtension<Je
@NotNull
@Override
public Collection<JetNamedFunction> get(String s, Project project, @NotNull GlobalSearchScope scope) {
public Collection<JetNamedFunction> get(@NotNull String s, @NotNull Project project, @NotNull GlobalSearchScope scope) {
return super.get(s, project, JetSourceFilterScope.kotlinSourcesAndLibraries(scope, project));
}
}
@@ -42,8 +42,9 @@ public class JetTopLevelPropertyByPackageIndex extends StringStubIndexExtension<
return KEY;
}
@NotNull
@Override
public Collection<JetProperty> get(String fqName, Project project, @NotNull GlobalSearchScope scope) {
public Collection<JetProperty> get(@NotNull String fqName, @NotNull Project project, @NotNull GlobalSearchScope scope) {
return super.get(fqName, project, JetSourceFilterScope.kotlinSourcesAndLibraries(scope, project));
}
}
@@ -45,7 +45,7 @@ public class JetTopLevelPropertyFqnNameIndex extends StringStubIndexExtension<Je
@NotNull
@Override
public Collection<JetProperty> get(String s, Project project, @NotNull GlobalSearchScope scope) {
public Collection<JetProperty> get(@NotNull String s, @NotNull Project project, @NotNull GlobalSearchScope scope) {
return super.get(s, project, JetSourceFilterScope.kotlinSourcesAndLibraries(scope, project));
}
}