Minor: remove waring about annotation absence in JetScope class

This commit is contained in:
Nikolay Krasko
2014-01-13 14:02:05 +04:00
parent 320635c2a4
commit 4de9b2d205
5 changed files with 5 additions and 5 deletions
@@ -74,7 +74,7 @@ public abstract class AbstractScopeAdapter implements JetScope {
@NotNull
@Override
public Collection<DeclarationDescriptor> getDeclarationsByLabel(LabelName labelName) {
public Collection<DeclarationDescriptor> getDeclarationsByLabel(@NotNull LabelName labelName) {
return getWorkerScope().getDeclarationsByLabel(labelName);
}
@@ -54,7 +54,7 @@ public class InnerClassesScopeWrapper extends AbstractScopeAdapter {
@NotNull
@Override
public Collection<DeclarationDescriptor> getDeclarationsByLabel(LabelName labelName) {
public Collection<DeclarationDescriptor> getDeclarationsByLabel(@NotNull LabelName labelName) {
return Collections2.filter(actualScope.getDeclarationsByLabel(labelName), IS_CLASS);
}
@@ -59,7 +59,7 @@ public abstract class JetScopeImpl implements JetScope {
@NotNull
@Override
public Collection<DeclarationDescriptor> getDeclarationsByLabel(LabelName labelName) {
public Collection<DeclarationDescriptor> getDeclarationsByLabel(@NotNull LabelName labelName) {
return Collections.emptyList();
}