Yohann Roussel | 804b758 | 2017-07-26 15:51:17 +0200 | [diff] [blame] | 1 | // Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file |
| 2 | // for details. All rights reserved. Use of this source code is governed by a |
| 3 | // BSD-style license that can be found in the LICENSE file. |
| 4 | package minifygeneric; |
| 5 | |
| 6 | import java.util.List; |
| 7 | import java.util.Map; |
| 8 | |
| 9 | public class Generic<T extends AA> { |
| 10 | |
| 11 | public <U extends List> T m (Object o, T[] t, Map<T,U> m) { |
| 12 | return null; |
| 13 | } |
| 14 | |
| 15 | public <U extends Map> T m2 (Object o, T[] t, Map<T,U> m) { |
| 16 | return null; |
| 17 | } |
| 18 | |
| 19 | public <U extends List> T m3 (Object o, T t, Map<T,U> m) { |
| 20 | return null; |
| 21 | } |
| 22 | |
| 23 | public <U extends List> T m4 (Object o, T[] t, List<U> m) { |
| 24 | return null; |
| 25 | } |
| 26 | |
| 27 | public Generic<T> f; |
| 28 | public Generic<T> get() { |
| 29 | return this; |
| 30 | } |
| 31 | |
| 32 | } |