package com.redhat.ceylon.compiler.typechecker.model;

import java.util.Arrays;
import java.util.List;

public class BottomType extends TypeDeclaration {
    
    public BottomType(Unit unit) {
        this.unit = unit;
    }
    
    @Override
    public String getName() {
        return "Bottom";
    }
    
    @Override
    public Scope getContainer() {
    	return unit.getVoidDeclaration().getContainer();
    }
    
    @Override @Deprecated
    public List<String> getQualifiedName() {
        return Arrays.asList("ceylon","language","Bottom");
    }

    @Override
    public String getQualifiedNameString() {
        return "ceylon.language.Bottom";
    }

    @Override
    public String toString() {
        return getClass().getSimpleName();
    }
    
    @Override
    public boolean isShared() {
        return true;
    }
    
    @Override
    public DeclarationKind getDeclarationKind() {
        return DeclarationKind.TYPE;
    }
    
    @Override
    public boolean equals(Object object) {
    	return object instanceof BottomType;
    }

}

@@ -645,17 +645,18 @@
 language
-.
+::
 Bottom%22;

Fix Bottom's qualified name