asm-delegate

A set of asm visitors that allows multiple visitors to be used at the same time, simply

License

License

Categories

Categories

ASM Application Layer Libs Bytecode Manipulation
GroupId

GroupId

com.mebigfatguy.asm-delegate
ArtifactId

ArtifactId

asm-delegate
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

asm-delegate
A set of asm visitors that allows multiple visitors to be used at the same time, simply
Project URL

Project URL

http://github.com/mebigfatguy/asm-delegate
Source Code Management

Source Code Management

https://github.com/mebigfatguy/asm-delegate

Download asm-delegate

How to add to project

<!-- https://jarcasting.com/artifacts/com.mebigfatguy.asm-delegate/asm-delegate/ -->
<dependency>
    <groupId>com.mebigfatguy.asm-delegate</groupId>
    <artifactId>asm-delegate</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.mebigfatguy.asm-delegate/asm-delegate/
implementation 'com.mebigfatguy.asm-delegate:asm-delegate:0.2.0'
// https://jarcasting.com/artifacts/com.mebigfatguy.asm-delegate/asm-delegate/
implementation ("com.mebigfatguy.asm-delegate:asm-delegate:0.2.0")
'com.mebigfatguy.asm-delegate:asm-delegate:jar:0.2.0'
<dependency org="com.mebigfatguy.asm-delegate" name="asm-delegate" rev="0.2.0">
  <artifact name="asm-delegate" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.mebigfatguy.asm-delegate', module='asm-delegate', version='0.2.0')
)
libraryDependencies += "com.mebigfatguy.asm-delegate" % "asm-delegate" % "0.2.0"
[com.mebigfatguy.asm-delegate/asm-delegate "0.2.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.ow2.asm : asm jar 7.2

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

asm-delegate

A set of classes that allow for delegating visitors to a set of visitors. This allows you do use many visitors in one pass of a ClassReader, but keep the logic for each time of scan separate in their own visitor. Used Like

MyClassVisitor1 v1 = new MyClassVisitor1();
MyClassVisitor2 v2 = new MyClassVisitor2();
MyClassVisitor3 v3 = new MyClassVisitor3();

DelegatingClassVisitor dcv = new DelegatingClassVisitor(Opcodes.ASM7, v1, v2, v3);

ClassReader r = new ClassReader(inputStream, 0);
r.accept(dcv);

Delegating visitors are available for all asm visitors: Class, Field, Method, Annotation, Module

Available on maven central with coordinates

GroupId com.mebigfatguy.asm-delegate
ArtifactId asm-delegate
Version 0.2.0

Versions

Version
0.2.0