string_switch(keys, switchStyle, new StringSwitchCallback() { public void processCase(String key, Label end) { push((int)key.charAt(key.length() - 1));
string_switch(keys, switchStyle, new ObjectSwitchCallback() { public void processCase(Object key, Label end) { String string = (String)key; push((int)string.charAt(string.length() - 1));
        protected void generate() throws Exception {            null_constructor();            Method method = Indexed.class.getMethod("getIndex", new Class[]{ String.class });            begin_method(method);            load_arg(0);            string_switch(keys, switchStyle, new StringSwitchCallback() {                    public void processCase(String key, Label end) {                        push((int)key.charAt(key.length() - 1));                        goTo(end);                    }                    public void processDefault() {                        push(0);                    }                });            return_value();            end_method();        }