| Index: test/com/google/gwt/inject/client/binding/Color.java |
| =================================================================== |
| --- test/com/google/gwt/inject/client/binding/Color.java (revision 108) |
| +++ test/com/google/gwt/inject/client/binding/Color.java (working copy) |
| @@ -16,5 +16,15 @@ |
| package com.google.gwt.inject.client.binding; |
| public enum Color { |
| - Red, Green, Yellow |
| + Red, |
| + Green, |
| + Yellow() { |
| + @Override public String getAlternative() { |
| + return "Orange"; |
| + } |
| + }; |
| + |
| + public String getAlternative() { |
| + return this.name(); |
| + } |
| } |