0d3c34cd90e73bfe707dd84b174f05914d08e416
[idea/community.git] / java / java-tests / testData / codeInsight / daemonCodeAnalyzer / genericsHighlighting8 / UncheckedWarningsInsideIncorporationPhase.java
1 abstract class Group {
2
3   public Group() {
4   }
5
6   public <T extends Category> T get(Key<T> key) {
7     return getCategory<error descr="'getCategory(Key<R>)' in 'Group' cannot be applied to '(Key<T>)'">(key)</error>;
8   }
9
10   public abstract <R extends Category<R>> R getCategory(Key<R> key);
11 }
12
13 interface Category<Tc extends Category> {
14 }
15
16 class Key<Tk extends Category> {
17 }