package com.redhat.ceylon.common;

public interface BackendSupport {
    boolean supportsBackend(Backend backend);
    
    public static final BackendSupport JAVA = new BackendSupport() {
        @Override
        public boolean supportsBackend(Backend backend) {
            return backend == Backend.Java;
        }
    };
    
    public static final BackendSupport JAVASCRIPT = new BackendSupport() {
        @Override
        public boolean supportsBackend(Backend backend) {
            return backend == Backend.JavaScript;
        }
    };
    
    public static final BackendSupport HEADER = new BackendSupport() {
        @Override
        public boolean supportsBackend(Backend backend) {
            return backend == Backend.None;
        }
    };
}

@@ -303,32 +303,153 @@
 .Java;%0A        %7D
+%0A%0A        @Override%0A        public String toString() %7B%0A            return %22BackendSupport for %22 + Backend.Java;%0A        %7D
 %0A    %7D;%0A    %0A   
@@ -647,32 +647,159 @@
 cript;%0A        %7D
+%0A%0A        @Override%0A        public String toString() %7B%0A            return %22BackendSupport for %22 + Backend.JavaScript;%0A        %7D
 %0A    %7D;%0A    %0A   
@@ -934,32 +934,32 @@
 kend backend) %7B%0A
-
             retu
@@ -987,26 +987,147 @@
 .None;%0A        %7D
+%0A%0A        @Override%0A        public String toString() %7B%0A            return %22BackendSupport for %22 + Backend.None;%0A        %7D
 %0A    %7D;%0A%7D%0A

Implement a readable `BackendSupport.toString()`