Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Bump ASM to 9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Dec 22, 2021
1 parent 7da2a98 commit ff15fcf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plexus-component-metadata/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>7.0</version>
<version>9.2</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class AnnReader extends ClassVisitor {
private final AnnClass annClass;

private AnnReader(AnnClass annClass) {
super(Opcodes.ASM7);
super(Opcodes.ASM9);
this.annClass = annClass;
}

Expand Down Expand Up @@ -64,7 +64,7 @@ public AnnotationVisitor visitAnnotation(final String desc, boolean visible) {
public FieldVisitor visitField(int access, final String name, final String desc, String signature, Object value) {
final AnnField field = new AnnField(annClass, access, name, desc);
annClass.addField(field);
return new FieldVisitor(Opcodes.ASM7) {
return new FieldVisitor(Opcodes.ASM9) {

public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
Ann ann = new Ann(desc);
Expand All @@ -79,7 +79,7 @@ public MethodVisitor visitMethod(int access, final String mname, final String md
final AnnMethod method = new AnnMethod(annClass, access, mname, mdesc);
annClass.addMethod(method);

return new MethodVisitor(Opcodes.ASM7) {
return new MethodVisitor(Opcodes.ASM9) {

public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
Ann ann = new Ann(desc);
Expand All @@ -99,7 +99,7 @@ static class AnnAnnReader extends AnnotationVisitor {
private Ann ann;

public AnnAnnReader(Ann ann) {
super(Opcodes.ASM7);
super(Opcodes.ASM9);
this.ann = ann;
}

Expand Down Expand Up @@ -132,7 +132,7 @@ static class AnnAnnArrayReader extends AnnotationVisitor {
private ArrayList<String> array = new ArrayList<String>();

public AnnAnnArrayReader(Ann ann, String name) {
super(Opcodes.ASM7);
super(Opcodes.ASM9);
this.ann = ann;
this.name = name;
}
Expand Down

0 comments on commit ff15fcf

Please sign in to comment.