Skip to content
Commits on Source (4)
......@@ -7,4 +7,4 @@ replace methods entirely with your own, or add fields.
lombok.patcher also includes support for getting around the Eclipse OSGi container's classloader separation.
An example can be found in [Project Lombok's eclipse agent code](http://github.com/rzwitserloot/lombok/tree/master/src/eclipseAgent/lombok/eclipse/agent/)
\ No newline at end of file
An example can be found in [Project Lombok's eclipse agent code](https://github.com/rzwitserloot/lombok/tree/master/src/eclipseAgent/lombok/eclipse/agent/)
\ No newline at end of file
......@@ -11,9 +11,9 @@
<dependency org="junit" name="junit" rev="4.12" conf="test -> default"/>
<dependency org="com.jcraft" name="jsch" rev="0.1.42" conf="build->default" />
<dependency org="projectlombok.org" name="jsch-ant-fixed" rev="0.1.45" conf="build" />
<dependency org="org.ow2.asm" name="asm" rev="6.2.1" conf="runtime, build -> default; contrib->sources" />
<dependency org="org.ow2.asm" name="asm-tree" rev="6.2.1" conf="runtime, build->default; contrib->sources" />
<dependency org="org.ow2.asm" name="asm-commons" rev="6.2.1" conf="runtime, build->default; contrib->sources" />
<dependency org="org.ow2.asm" name="asm" rev="7.0" conf="runtime, build -> default; contrib->sources" />
<dependency org="org.ow2.asm" name="asm-tree" rev="7.0" conf="runtime, build->default; contrib->sources" />
<dependency org="org.ow2.asm" name="asm-commons" rev="7.0" conf="runtime, build->default; contrib->sources" />
<dependency org="net.java.dev.jna" name="jna" rev="3.2.2" conf="runtimeInjector, build->master" />
</dependencies>
</ivy-module>
lombok-patcher (0.30-1) unstable; urgency=medium
* New upstream version 0.30.
-- Markus Koschany <apo@debian.org> Sat, 03 Nov 2018 00:56:20 +0100
lombok-patcher (0.28-1) unstable; urgency=medium
* New upstream version 0.28.
......
dist/lombok.patcher.jar
dist/lombok.injector-0.28.jar
dist/lombok.injector-0.30.jar
......@@ -162,7 +162,7 @@ public abstract class PatchScript {
private static abstract class NoopClassVisitor extends ClassVisitor {
public NoopClassVisitor() {
super(Opcodes.ASM6);
super(Opcodes.ASM7);
}
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) {}
......@@ -208,7 +208,7 @@ public abstract class PatchScript {
private static final class InsertBodyOfMethodIntoAnotherVisitor extends MethodVisitor {
private InsertBodyOfMethodIntoAnotherVisitor(MethodVisitor mv) {
super(Opcodes.ASM6, mv);
super(Opcodes.ASM7, mv);
}
@Override public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible) { return null; }
......@@ -245,7 +245,7 @@ public abstract class PatchScript {
private int classFileFormatVersion;
public MethodPatcher(ClassVisitor cv, TransplantMapper transplantMapper, MethodPatcherFactory factory) {
super(Opcodes.ASM6, cv);
super(Opcodes.ASM7, cv);
this.factory = factory;
this.transplantMapper = transplantMapper;
}
......
......@@ -26,7 +26,7 @@ package lombok.patcher;
*/
public class Version {
// ** CAREFUL ** - this class must always compile with 0 dependencies (it must not refer to any other sources or libraries).
private static final String VERSION = "0.28";
private static final String VERSION = "0.30";
private Version() {
//Prevent instantiation
......
......@@ -65,7 +65,7 @@ public class AddFieldScript extends PatchScript {
}
@Override protected ClassVisitor createClassVisitor(ClassWriter writer, String classSpec, TransplantMapper transplantMapper) {
return new ClassVisitor(Opcodes.ASM6, writer) {
return new ClassVisitor(Opcodes.ASM7, writer) {
private boolean alreadyAdded = false;
@Override public FieldVisitor visitField(int access, String name, String desc, String signature, Object value) {
......
......@@ -82,7 +82,7 @@ public class ExitFromMethodEarlyScript extends MethodLevelPatchScript {
private final String ownClassSpec;
public ExitEarly(MethodVisitor mv, MethodLogistics logistics, String ownClassSpec) {
super(Opcodes.ASM6, mv);
super(Opcodes.ASM7, mv);
this.logistics = logistics;
this.ownClassSpec = ownClassSpec;
}
......
......@@ -74,7 +74,7 @@ public class ReplaceMethodCallScript extends MethodLevelPatchScript {
private final MethodLogistics logistics;
public ReplaceMethodCall(MethodVisitor mv, String ownClassSpec, MethodLogistics logistics) {
super(Opcodes.ASM6, mv);
super(Opcodes.ASM7, mv);
this.ownClassSpec = ownClassSpec;
this.logistics = logistics;
}
......
......@@ -107,7 +107,7 @@ public class SetSymbolDuringMethodCallScript extends MethodLevelPatchScript {
private final List<WrapperMethodDescriptor> descriptors;
public WrapWithSymbol(String selfMethodName, MethodVisitor mv, String selfTypeName, List<WrapperMethodDescriptor> descriptors) {
super(Opcodes.ASM6, mv);
super(Opcodes.ASM7, mv);
this.selfMethodName = selfMethodName;
this.selfTypeName = selfTypeName;
this.descriptors = descriptors;
......
......@@ -80,7 +80,7 @@ public class WrapMethodCallScript extends MethodLevelPatchScript {
private final MethodLogistics logistics;
public WrapMethodCall(MethodVisitor mv, String ownClassSpec, MethodLogistics logistics) {
super(Opcodes.ASM6, mv);
super(Opcodes.ASM7, mv);
this.ownClassSpec = ownClassSpec;
this.logistics = logistics;
}
......
......@@ -78,7 +78,7 @@ public final class WrapReturnValuesScript extends MethodLevelPatchScript {
private final String ownClassSpec;
public WrapReturnValues(MethodVisitor mv, MethodLogistics logistics, String ownClassSpec) {
super(Opcodes.ASM6, mv);
super(Opcodes.ASM7, mv);
this.logistics = logistics;
this.ownClassSpec = ownClassSpec;
}
......