1.1 --- a/vm/src/main/java/org/apidesign/vm4brwsr/ByteCodeToJavaScript.java Sun Dec 02 12:26:14 2012 +0100
1.2 +++ b/vm/src/main/java/org/apidesign/vm4brwsr/ByteCodeToJavaScript.java Sun Dec 02 12:39:51 2012 +0100
1.3 @@ -999,7 +999,7 @@
1.4 String body;
1.5
1.6 @Override
1.7 - protected void visitAttr(String type, String attr, String value) {
1.8 + protected void visitAttr(String type, String attr, String at, String value) {
1.9 if (type.equals(jvmType)) {
1.10 if ("body".equals(attr)) {
1.11 body = value;
1.12 @@ -1057,7 +1057,7 @@
1.13 final String jvmType = "L" + className.replace('.', '/') + ";";
1.14 AnnotationParser ap = new AnnotationParser() {
1.15 @Override
1.16 - protected void visitAttr(String type, String attr, String value) {
1.17 + protected void visitAttr(String type, String attr, String at, String value) {
1.18 if (type.equals(jvmType)) {
1.19 found[0] = true;
1.20 for (int i = 0; i < attrNames.length; i++) {
1.21 @@ -1108,12 +1108,12 @@
1.22 }
1.23
1.24 @Override
1.25 - protected void visitAttr(String type, String attr, String value)
1.26 + protected void visitAttr(String type, String attr, String attrType, String value)
1.27 throws IOException {
1.28 if (cnt++ > 0) {
1.29 out.append(",\n");
1.30 }
1.31 - out.append(attr).append(" : ").append(value);
1.32 + out.append(attr).append(attrType).append(" : ").append(value);
1.33 }
1.34 };
1.35 ap.parse(data, cd);