summaryrefslogtreecommitdiff
path: root/test/cuchaz/enigma/inputs/translation/I_Generics.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/cuchaz/enigma/inputs/translation/I_Generics.java')
-rw-r--r--test/cuchaz/enigma/inputs/translation/I_Generics.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/cuchaz/enigma/inputs/translation/I_Generics.java b/test/cuchaz/enigma/inputs/translation/I_Generics.java
new file mode 100644
index 0000000..3490f9d
--- /dev/null
+++ b/test/cuchaz/enigma/inputs/translation/I_Generics.java
@@ -0,0 +1,35 @@
1/*******************************************************************************
2 * Copyright (c) 2015 Jeff Martin.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the GNU Lesser General Public
5 * License v3.0 which accompanies this distribution, and is available at
6 * http://www.gnu.org/licenses/lgpl.html
7 *
8 * Contributors:
9 * Jeff Martin - initial API and implementation
10 ******************************************************************************/
11package cuchaz.enigma.inputs.translation;
12
13import java.util.List;
14import java.util.Map;
15
16
17public class I_Generics {
18
19 public class A_Type {
20 }
21
22 public List<Integer> f1;
23 public List<A_Type> f2;
24 public Map<A_Type,A_Type> f3;
25
26 public class B_Generic<T> {
27 public T f4;
28 public T m1() {
29 return null;
30 }
31 }
32
33 public B_Generic<Integer> f5;
34 public B_Generic<A_Type> f6;
35}