]> source.dussan.org Git - javassist.git/commitdiff
modifies test code
authorchibash <chiba@javassist.org>
Sun, 12 Jun 2016 00:47:15 +0000 (09:47 +0900)
committerchibash <chiba@javassist.org>
Sun, 12 Jun 2016 00:47:15 +0000 (09:47 +0900)
src/test/Test.java

index 3eb9a6014fff0f6894b56f3bd309a2ff38b5f783..b092753901b02bf6baade7e11fb46492db46aa64 100644 (file)
@@ -20,12 +20,12 @@ public class Test {
         annotation = new Annotation(constPool, classPool.get("Table"));
         annotation.addMemberValue("name", new StringMemberValue("name", constPool));
         annotation.addMemberValue("schema", new StringMemberValue("schema", constPool));
-        ArrayMemberValue blankMemberValueArray = new ArrayMemberValue(new AnnotationMemberValue(constPool), constPool);
-        blankMemberValueArray.setValue(new MemberValue[0]);
-        annotation.addMemberValue("uniqueConstraints", blankMemberValueArray);
-        annotation.addMemberValue("indexes", blankMemberValueArray);
+//        ArrayMemberValue blankMemberValueArray = new ArrayMemberValue(new AnnotationMemberValue(constPool), constPool);
+//        blankMemberValueArray.setValue(new MemberValue[0]);
+//        annotation.addMemberValue("textValues", blankMemberValueArray);
         annotations[1] = annotation;
         attrib.setAnnotations(annotations);
         cf.addAttribute(attrib);
+        System.out.println("done");
     }
 }