118119120121122123124125126127128
TheoremId theoremIdDef = new TheoremId(); for (Theorem theorem : theoremList ){ int nr = 0; switch (theorem.getKind()){ case D : theoremIdDef.increment(); nr = theoremIdDef.getId(); break; case T : theoremId.increment(); nr = theoremId.getId();