mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
do not insert annotations when classes are not accessible
This commit is contained in:
+13
@@ -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>
|
||||
}
|
||||
}
|
||||
+6
@@ -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 {}
|
||||
Reference in New Issue
Block a user