package ceylon;

public final class Boolean extends Object {
    private final boolean value;

    private Boolean(boolean b) {
        value = b;
    }

    public static ceylon.Boolean instance(boolean b) {
        return new ceylon.Boolean(b);
    }

    @Extension
    public ceylon.String string() {
        return ceylon.String.instance(java.lang.Boolean.toString(value));
    }
}

@@ -377,11 +377,76 @@
 );%0A    %7D
+%0A%0A    public boolean booleanValue() %7B%0A        return value;%0A    %7D
 %0A%7D%0A

Tidy up ClassVisitor. While statement.