1import javaparser.GenericClass; 2 3import java.util.List; 4 5public 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}