Volker Birk 7 years ago
parent
commit
6c3866f71e
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      src/gen_java_Message.ysl2

+ 6
- 3
src/gen_java_Message.ysl2 View File

@ -72,9 +72,12 @@ tstylesheet {
`` apply "*", mode=value
;
static class Management {
public static final HashMap<Integer, «$jname»> tag =
new HashMap<Integer, «$jname»>();
}
public final int value;
public static final HashMap<Integer, «$jname»> tag =
new HashMap<Integer, «$jname»>();
«$jname»(int value) {
this.value = value;
@ -82,7 +85,7 @@ tstylesheet {
}
private void fill(int value) {
tag.put(value, this);
Management.tag.put(value, this);
}
}


Loading…
Cancel
Save