Skip to content

Commit

Permalink
Bump ASM API version
Browse files Browse the repository at this point in the history
  • Loading branch information
dodie committed Sep 27, 2021
1 parent 714d516 commit cfa8dbe
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ConstructorTransformerMethodVisitor extends MethodNode {
private MethodVisitor next;

public ConstructorTransformerMethodVisitor(MethodVisitor next, final int access, final String name, final String desc, final String signature, final String[] exceptions, String className) {
super(Opcodes.ASM7, access, name, desc, signature, exceptions);
super(Opcodes.ASM9, access, name, desc, signature, exceptions);
this.next = next;
this.className = className;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class ScopeExtractorMethodVisitor extends MethodNode {
private Map<VarAndStoreOpcode, List<Label>> varAccesses;

ScopeExtractorMethodVisitor(StateTrackingMethodVisitor next, final int access, final String name, final String desc, final String signature, final String[] exceptions) {
super(Opcodes.ASM7, access, name, desc, signature, exceptions);
super(Opcodes.ASM9, access, name, desc, signature, exceptions);
this.next = next;
lineNumberToFirstOccurrenceOfVariables = new HashMap<>();
varAccesses = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class StateTrackingClassVisitor extends ClassVisitor {
private InstrumentationActions instrumentationActions;

public StateTrackingClassVisitor(ClassVisitor cv, InstrumentationActions instrumentationActions) {
super(Opcodes.ASM7, cv);
super(Opcodes.ASM9, cv);
this.instrumentationActions = instrumentationActions;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class StateTrackingMethodVisitor extends MethodVisitor {


StateTrackingMethodVisitor(MethodVisitor mv, InstrumentationActions instrumentationActions, String className, String methodName, String desc) {
super(Opcodes.ASM7, mv);
super(Opcodes.ASM9, mv);

this.logger = new Logger(instrumentationActions.verboseLogging);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class DiscoveryClassVisitor extends ClassVisitor {


public DiscoveryClassVisitor(Configuration configuration) {
super(Opcodes.ASM7);
super(Opcodes.ASM9);
this.configuration = configuration;
this.transformationParameters = new InstrumentationActions.Builder();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class DiscoveryMethodVisitor extends MethodVisitor {

DiscoveryMethodVisitor(MethodVisitor mv, InstrumentationActions.Builder instrumentationActions,
Configuration configuration, String name, String desc, String signature, List<String> classAnnotationFqns) {
super(Opcodes.ASM7, mv);
super(Opcodes.ASM9, mv);
this.instrumentationActions = instrumentationActions;
this.configuration = configuration;
this.methodName = name;
Expand Down

0 comments on commit cfa8dbe

Please sign in to comment.