@Test public void checkGetName_genericsMultiples() { TypeMirror typeMirror = mock(TypeMirror.class); when(typeMirror.toString()).thenReturn("com.example.Foo<com.example.Bar, com.example.Baz>"); TypeModel model = new TypeModel(typeMirror); ASSERT.that("Foo<Bar, Baz>").isEqualTo(model.getName()); }
public String getName() { final String fullQualifiedName = type.toString(); return getTypeSimpleName(fullQualifiedName); }
TypeModel { public String getName() { final String fullQualifiedName = type.toString(); return getTypeSimpleName(fullQualifiedName); } }
TypeModel { public String getName() { final String fullQualifiedName = type.toString(); return getTypeSimpleName(fullQualifiedName); } TypeModel(TypeMirror type); }
TypeModel { public String getName() { final String fullQualifiedName = type.toString(); return getTypeSimpleName(fullQualifiedName); } TypeModel(TypeMirror type); String getName(); List<String> getFullQualifiedNames(); }
TypeModel { public String getName() { final String fullQualifiedName = type.toString(); return getTypeSimpleName(fullQualifiedName); } TypeModel(TypeMirror type); String getName(); List<String> getFullQualifiedNames();  }