public void resolve(Environment env) { if (this.defaultCase != null) this.defaultCase.resolve(env, this); for (Case c : this.cases) { c.resolve(env, this); } }