diff options
author | chibash <chiba@javassist.org> | 2016-06-12 09:47:15 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2016-06-12 09:47:15 +0900 |
commit | 37258d163442e0000184222a5a9fb90759b6888b (patch) | |
tree | ff29f1988ce22e575682260b626f57504f0d7924 /src | |
parent | 652e8658feaf60010d8c2c7d3e74d1359658e032 (diff) | |
download | javassist-37258d163442e0000184222a5a9fb90759b6888b.tar.gz javassist-37258d163442e0000184222a5a9fb90759b6888b.zip |
modifies test code
Diffstat (limited to 'src')
-rw-r--r-- | src/test/Test.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/Test.java b/src/test/Test.java index 3eb9a601..b0927539 100644 --- a/src/test/Test.java +++ b/src/test/Test.java @@ -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"); } } |