package ceylon.language;

import com.redhat.ceylon.compiler.java.metadata.Ceylon;
import com.redhat.ceylon.compiler.java.metadata.Class;
import com.redhat.ceylon.compiler.java.metadata.Name;

@Ceylon
@Class(extendsType = "ceylon.language.Case")
public abstract class Boolean extends Case {

    public Boolean(@Name("name") java.lang.String name) {
        super(name);
    }

    public static Boolean instance(boolean b) {
        return b ? $true.getTrue() : $false.getFalse();
    }

    abstract public boolean booleanValue();

}

@@ -19,16 +19,75 @@
 guage;%0A%0A
+import com.redhat.ceylon.compiler.java.metadata.CaseTypes;%0A
 import c
@@ -297,16 +297,78 @@
 .Case%22)%0A
+@CaseTypes(%7B%22ceylon.language.true%22, %22ceylon.language.false%22%7D)%0A
 public a

add @CaseTypes to Boolean