class Test def main t = Test assert not t.isGenericType and not t.isGenericTypeDefinition t = List assert t.isGenericType and not t.isGenericTypeDefinition t = Dictionary assert t.isGenericType and not t.isGenericTypeDefinition t = Dictionary> assert t.isGenericType and not t.isGenericTypeDefinition t = List assert t.isGenericType and t.isGenericTypeDefinition t = Dictionary assert t.isGenericType and t.isGenericTypeDefinition