Debian Codegraph @

javaparser-symbol-solver-testing/src/test/resources/GenericClassNavigator.java.txt

raw
1 import javaparser.GenericClass;
2
3 import java.util.List;
4
5 public class GenericClassNavigator {
6
7 public static void doubleTyped() {
8 new GenericClass().genericMethodWithDoubleTypedReturnType();
9 }
10
11 public static void nestedTyped() {
12 new GenericClass().genericMethodWithNestedReturnType();
13 }
14
15 public static void simple() {
16 new GenericClass<List<List<String>>>().get();
17 }
18
19 public static void input() {
20 GenericClass.copy(new GenericClass<List<String>>());
21 }
22
23 public void complex() {
24 new GenericClass().complexGenerics();
25 }
26
27 public void nestedTypes() {
28 GenericClass.asList(GenericClass.Bar.CONSTANT);
29 }
30
31 }