ceylon.language.meta.declaration.ClassDeclaration caseClass = caseClassType.getDeclaration();
if(!caseClass.getAnonymous())
continue;
ValueDeclaration valueDeclaration = caseClass.getContainingPackage().getValue(caseClass.getName());
ceylon.language.meta.model.Value<? extends Type,? super Object> valueModel =
valueDeclaration.<Type,Object>apply($reifiedType, TypeDescriptor.NothingType);
Type value = valueModel.get();
ret.set(count++, value);
}
return ret.take(count).sequence();
}