|
|
@ -56,7 +56,7 @@ public class Segment extends ClassVisitor { |
|
|
|
private Attribute[] nonStandardAttributePrototypes; |
|
|
|
private Attribute[] nonStandardAttributePrototypes; |
|
|
|
|
|
|
|
|
|
|
|
public Segment() { |
|
|
|
public Segment() { |
|
|
|
super(Opcodes.ASM8); |
|
|
|
super(Opcodes.ASM9); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -273,7 +273,7 @@ public class Segment extends ClassVisitor { |
|
|
|
public class SegmentMethodVisitor extends MethodVisitor { |
|
|
|
public class SegmentMethodVisitor extends MethodVisitor { |
|
|
|
|
|
|
|
|
|
|
|
public SegmentMethodVisitor() { |
|
|
|
public SegmentMethodVisitor() { |
|
|
|
super(Opcodes.ASM8); |
|
|
|
super(Opcodes.ASM9); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public AnnotationVisitor visitAnnotation(String desc, boolean visible) { |
|
|
|
public AnnotationVisitor visitAnnotation(String desc, boolean visible) { |
|
|
@ -451,20 +451,20 @@ public class Segment extends ClassVisitor { |
|
|
|
|
|
|
|
|
|
|
|
public SegmentAnnotationVisitor(int context, String desc, |
|
|
|
public SegmentAnnotationVisitor(int context, String desc, |
|
|
|
boolean visible) { |
|
|
|
boolean visible) { |
|
|
|
super(Opcodes.ASM8); |
|
|
|
super(Opcodes.ASM9); |
|
|
|
this.context = context; |
|
|
|
this.context = context; |
|
|
|
this.desc = desc; |
|
|
|
this.desc = desc; |
|
|
|
this.visible = visible; |
|
|
|
this.visible = visible; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public SegmentAnnotationVisitor(int context) { |
|
|
|
public SegmentAnnotationVisitor(int context) { |
|
|
|
super(Opcodes.ASM8); |
|
|
|
super(Opcodes.ASM9); |
|
|
|
this.context = context; |
|
|
|
this.context = context; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public SegmentAnnotationVisitor(int context, int parameter, |
|
|
|
public SegmentAnnotationVisitor(int context, int parameter, |
|
|
|
String desc, boolean visible) { |
|
|
|
String desc, boolean visible) { |
|
|
|
super(Opcodes.ASM8); |
|
|
|
super(Opcodes.ASM9); |
|
|
|
this.context = context; |
|
|
|
this.context = context; |
|
|
|
this.parameter = parameter; |
|
|
|
this.parameter = parameter; |
|
|
|
this.desc = desc; |
|
|
|
this.desc = desc; |
|
|
@ -486,7 +486,7 @@ public class Segment extends ClassVisitor { |
|
|
|
nameRU.add(name); |
|
|
|
nameRU.add(name); |
|
|
|
nestTypeRS.add(desc); |
|
|
|
nestTypeRS.add(desc); |
|
|
|
nestPairN.add(new Integer(0)); |
|
|
|
nestPairN.add(new Integer(0)); |
|
|
|
return new AnnotationVisitor(Opcodes.ASM8) { |
|
|
|
return new AnnotationVisitor(Opcodes.ASM9) { |
|
|
|
public void visit(String name, Object value) { |
|
|
|
public void visit(String name, Object value) { |
|
|
|
Integer numPairs = (Integer) nestPairN.remove(nestPairN.size() - 1); |
|
|
|
Integer numPairs = (Integer) nestPairN.remove(nestPairN.size() - 1); |
|
|
|
nestPairN.add(new Integer(numPairs.intValue() + 1)); |
|
|
|
nestPairN.add(new Integer(numPairs.intValue() + 1)); |
|
|
@ -559,7 +559,7 @@ public class Segment extends ClassVisitor { |
|
|
|
private List T; |
|
|
|
private List T; |
|
|
|
|
|
|
|
|
|
|
|
public ArrayVisitor(List caseArrayN, List T, List nameRU, List values) { |
|
|
|
public ArrayVisitor(List caseArrayN, List T, List nameRU, List values) { |
|
|
|
super(Opcodes.ASM8); |
|
|
|
super(Opcodes.ASM9); |
|
|
|
this.caseArrayN = caseArrayN; |
|
|
|
this.caseArrayN = caseArrayN; |
|
|
|
this.T = T; |
|
|
|
this.T = T; |
|
|
|
this.nameRU = nameRU; |
|
|
|
this.nameRU = nameRU; |
|
|
@ -610,7 +610,7 @@ public class Segment extends ClassVisitor { |
|
|
|
public class SegmentFieldVisitor extends FieldVisitor { |
|
|
|
public class SegmentFieldVisitor extends FieldVisitor { |
|
|
|
|
|
|
|
|
|
|
|
public SegmentFieldVisitor() { |
|
|
|
public SegmentFieldVisitor() { |
|
|
|
super(Opcodes.ASM8); |
|
|
|
super(Opcodes.ASM9); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public AnnotationVisitor visitAnnotation(String desc, boolean visible) { |
|
|
|
public AnnotationVisitor visitAnnotation(String desc, boolean visible) { |
|
|
|