Skip to content

Commit

Permalink
Drop dependency on ASM (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Mar 14, 2024
1 parent b364814 commit 0b358b9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ import java.util.stream.Collectors

import static org.codehaus.groovy.ast.tools.GeneralUtils.*
import static org.jenkinsci.plugins.pipeline.modeldefinition.parser.ASTParserUtils.*
import static org.objectweb.asm.Opcodes.ACC_PUBLIC

/**
* Transforms a given {@link ModelASTPipelineDef} into the {@link Root} used for actual runtime. Also attaches a
Expand Down Expand Up @@ -1120,6 +1119,8 @@ public class RuntimeASTTransformer {
* This is less effective, but still an improvement.
*/
static final class Wrapper {
private static final int ACC_PUBLIC = 1

private final SourceUnit sourceUnit
private final ModuleNode moduleNode
private final Set<String> nameSet = new HashSet<>()
Expand Down

0 comments on commit 0b358b9

Please sign in to comment.