framework/tests/all-systems/Issue1526.java
raw| 1 | // Tet case for Issue 1526. |
| 2 | // https://github.com/typetools/checker-framework/issues/1526 |
| 3 | public class Issue1526 { |
| 4 | public <T> T get(T t) { |
| 5 | return this.get(t); |
| 6 | } |
| 7 | |
| 8 | public <T> T method(T[] t) { |
| 9 | return this.method(t); |
| 10 | } |
| 11 | |
| 12 | public <T> T method2(Gen<T> t) { |
| 13 | return this.method2(t); |
| 14 | } |
| 15 | |
| 16 | static class Gen<T> {} |
| 17 | } |