type annotations: skip type annotation in generated code if it also has normal applicable targets (IDEA-206570)

GitOrigin-RevId: 651526af474d80f2664229f8c000c790152b3f0d
This commit is contained in:
Anna Kozlova
2021-01-11 10:31:05 +00:00
committed by intellij-monorepo-bot
parent 7793b16164
commit d66d66d259
8 changed files with 79 additions and 40 deletions
@@ -9,8 +9,9 @@ abstract class Foo<T> {
class FooImpl extends Foo<String> {
@Nullable
@Override
public @Nullable String getSmth() {
public String getSmth() {
return null;
}
}