GenericFC Test anfügen
This commit is contained in:
parent
240d57a8ba
commit
9a735e86dd
@ -16,16 +16,31 @@ public class SuperInterfacesTest {
|
||||
classes.add(ASTFactory.createClass(TestClass.class));
|
||||
System.out.println(FCGenerator.toFC(classes));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGeneric() throws ClassNotFoundException {
|
||||
Collection<ClassOrInterface> classes = new ArrayList<>();
|
||||
classes.add(ASTFactory.createClass(TestClassGeneric.class));
|
||||
System.out.println(FCGenerator.toFC(classes));
|
||||
}
|
||||
}
|
||||
|
||||
class TestClass implements Test2, Test3{
|
||||
|
||||
}
|
||||
|
||||
class TestClassGeneric<A,B> implements Test4<A>{
|
||||
|
||||
}
|
||||
|
||||
interface Test2 {
|
||||
|
||||
}
|
||||
|
||||
interface Test3{
|
||||
|
||||
}
|
||||
|
||||
interface Test4<A>{
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user