blob: 203561ea5b45f5fe355f2448f8bb589ca1bab059 [file] [log] [blame]
Yohann Roussel804b7582017-07-26 15:51:17 +02001// 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.
4package minifygenericwithinner;
5
6import java.util.List;
7import java.util.Map;
8
9public 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 <V extends BB> Inner<V> getInner(V obj) {
28 return new Inner<>();
29 }
30
31 public class Inner<V extends BB> {
32
33 public Generic<T>.Inner<V> f;
34 public <U extends List> T m5 (V o, T[] t, Map<T,U> m) {
35 return m(o, t, m);
36 }
37
38 public Generic<T>.Inner<V> get() {
39 return this;
40 }
41 }
42}