"Because of the restrictions imposed by Ceylon's mixin inheritance model: \n" +
"- If X and Y are classes, and X is not a subclass of Y, and Y is not a subclass of X, then the intersection type X&Y is equivalent to _Nothing_. \n" +
"- If X is an interface, the intersection type X&Nothing is equivalent to _Nothing_. \n" +
"- If X<T> is invariant in its type parameter T, and the distinct types A and B do not involve type parameters, then X<A>&X<B> is equivalent to _Nothing_. \n");
NothingType nothingType = new NothingType(pkg.getUnit()) {
@Override
public List<Annotation> getAnnotations() {
return Collections.singletonList(nothingDoc);
}
};