new ArrayList<ProducedType>(that.getStaticTypes().size());
for (Tree.StaticType st: that.getStaticTypes()) {
ProducedType t = st.getTypeModel();
if (t!=null) types.add(t);
}
ProducedType t = new LazyProducedType(unit) {
@Override
public TypeDeclaration initDeclaration() {
IntersectionType it = new IntersectionType(unit);
it.setSatisfiedTypes(types);
return it;