diff --git a/plugins/git4idea/tests/git4idea/test/GitMockProject.groovy b/plugins/git4idea/tests/git4idea/test/GitMockProject.groovy index 2a042bdae16d..3405ade94154 100644 --- a/plugins/git4idea/tests/git4idea/test/GitMockProject.groovy +++ b/plugins/git4idea/tests/git4idea/test/GitMockProject.groovy @@ -121,15 +121,17 @@ class GitMockProject implements Project { } @Override - boolean hasComponent(Class interfaceClass) { + boolean hasComponent(@NotNull Class interfaceClass) { throw new UnsupportedOperationException() } + @NotNull @Override def T[] getComponents(Class baseClass) { throw new UnsupportedOperationException() } + @NotNull @Override PicoContainer getPicoContainer() { throw new UnsupportedOperationException() @@ -150,6 +152,7 @@ class GitMockProject implements Project { throw new UnsupportedOperationException() } + @NotNull @Override Condition getDisposed() { throw new UnsupportedOperationException()