@Test public void toCompilableType_A$List$List$String() throws Exception { String[] argList = new String[] { "String", "hoge.foo.Var", "List<String>", "Map<String,Object>", "List<?>", "Map<?,?>" }; String[] expectedList = new String[] { "String", "hoge.foo.Var", "List", "Map", "List", "Map" }; List<String> importedList = new ArrayList<String>(); importedList.add("java.util.List"); importedList.add("java.util.Map"); for (int i = 0; i < argList.length; i++) { String className = argList[i]; String actual = target.toCompilableType(className, importedList, null); String expected = expectedList[i]; assertEquals(i + "," + expected + "-" + actual, expected, actual); } }
public String toCompilableType(String typeName, List<String> importedList, String callerClassPackageName) { return toCompilableType(typeName, null, importedList, callerClassPackageName); }
TypeNameConverter { public String toCompilableType(String typeName, List<String> importedList, String callerClassPackageName) { return toCompilableType(typeName, null, importedList, callerClassPackageName); } }
TypeNameConverter { public String toCompilableType(String typeName, List<String> importedList, String callerClassPackageName) { return toCompilableType(typeName, null, importedList, callerClassPackageName); } TypeNameConverter(Configuration config); }
TypeNameConverter { public String toCompilableType(String typeName, List<String> importedList, String callerClassPackageName) { return toCompilableType(typeName, null, importedList, callerClassPackageName); } TypeNameConverter(Configuration config); String toAvailableInMethodName(String typeName); String toCompilableType(String typeName, List<String> importedList, String callerClassPackageName); String toCompilableType(String typeName, List<String> generics, List<String> importedList,
            String callerClassPackageName); }
TypeNameConverter { public String toCompilableType(String typeName, List<String> importedList, String callerClassPackageName) { return toCompilableType(typeName, null, importedList, callerClassPackageName); } TypeNameConverter(Configuration config); String toAvailableInMethodName(String typeName); String toCompilableType(String typeName, List<String> importedList, String callerClassPackageName); String toCompilableType(String typeName, List<String> generics, List<String> importedList,
            String callerClassPackageName);  }