This commit is contained in:
地平线
2015-10-08 17:13:14 +08:00
parent e94256bbe6
commit d4af3241a6

View File

@@ -133,7 +133,7 @@ public interface Creator<T> {
mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null);
ConstructorProperties cps = constructor.getAnnotation(ConstructorProperties.class);
if (cps != null) {
av0 = mv.visitAnnotation("Ljava/beans/ConstructorProperties;", true);
av0 = mv.visitAnnotation(Type.getDescriptor(ConstructorProperties.class), true);
AnnotationVisitor av1 = av0.visitArray("value");
for (String n : cps.value()) {
av1.visit(null, n);