The textual type of string now ends with _2 reflection
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 04 Dec 2012 12:23:06 +0100
branchreflection
changeset 25255d2676f82c9
parent 251 0b33848114b1
child 253 962a24ecd8f8
The textual type of string now ends with _2
javap/src/main/java/org/apidesign/javap/AnnotationParser.java
     1.1 --- a/javap/src/main/java/org/apidesign/javap/AnnotationParser.java	Tue Dec 04 12:16:16 2012 +0100
     1.2 +++ b/javap/src/main/java/org/apidesign/javap/AnnotationParser.java	Tue Dec 04 12:23:06 2012 +0100
     1.3 @@ -99,7 +99,7 @@
     1.4              String val = cd.stringValue(primitive, textual);
     1.5              String attrType;
     1.6              if (type == 's') {
     1.7 -                attrType = "Ljava_lang_String";
     1.8 +                attrType = "Ljava_lang_String_2";
     1.9                  if (textual) {
    1.10                      val = '"' + val + '"';
    1.11                  }