do not insert annotations when classes are not accessible

This commit is contained in:
anna
2012-04-18 16:44:44 +02:00
parent 5c9818d3ca
commit 3fbf561d6a
6 changed files with 40 additions and 5 deletions
@@ -0,0 +1,13 @@
import org.jetbrains.annotations.Nullable;
// "Implement method 'foo'" "true"
abstract class Test {
public abstract void foo(@org.jetbrains.annotations.Nullable String a);
}
class TImple extends Test {
@Override
public void foo(@Nullable String a) {
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
}
}
@@ -0,0 +1,6 @@
// "Implement method 'foo'" "true"
abstract class Test {
public abstract void f<caret>oo(@org.jetbrains.annotations.Nullable String a);
}
class TImple extends Test {}