Skip to content

Commit

Permalink
Repack ASM classes in esotericsoftware namespace.
Browse files Browse the repository at this point in the history
closes #54
  • Loading branch information
NathanSweet committed Jul 16, 2017
1 parent 5123d1d commit ade0542
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<classpathentry excluding="**/.svn/*" kind="src" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="build/junit-4.6.jar"/>
<classpathentry kind="lib" path="lib/asm-5.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/asm-5.1-es.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
File renamed without changes.
Binary file added build/jarjar-command-1.0.0-all.jar
Binary file not shown.
1 change: 1 addition & 0 deletions build/jarjar.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rule org.objectweb.asm.** com.esotericsoftware.asm.@1
Binary file added lib/asm-5.1-es.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.esotericsoftware</groupId>
<artifactId>reflectasm</artifactId>
<version>1.11.5-SNAPSHOT</version>
<version>1.11.6-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>ReflectASM</name>
<description>High performance Java reflection using code generation</description>
Expand Down
8 changes: 6 additions & 2 deletions project.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
version: 1.11.4
version: 1.11.5
---
classpath build/jarjar-command-1.0.0-all.jar;
com.tonicsystems.jarjar.Main.main(new String[] {
"-rules", "build/jarjar.rules", "build/asm-5.1.jar", "-output", "lib/asm-5.1-es.jar"
});
Build.build(project);
Build.oneJAR(project);
Build.oneJAR(project);
6 changes: 3 additions & 3 deletions src/com/esotericsoftware/reflectasm/ConstructorAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

package com.esotericsoftware.reflectasm;

import static org.objectweb.asm.Opcodes.*;
import static com.esotericsoftware.asm.Opcodes.*;

import java.lang.reflect.Constructor;
import java.lang.reflect.Modifier;

import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.MethodVisitor;
import com.esotericsoftware.asm.ClassWriter;
import com.esotericsoftware.asm.MethodVisitor;

public abstract class ConstructorAccess<T> {
boolean isNonStaticMemberClass;
Expand Down
10 changes: 5 additions & 5 deletions src/com/esotericsoftware/reflectasm/FieldAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@

package com.esotericsoftware.reflectasm;

import static org.objectweb.asm.Opcodes.*;
import static com.esotericsoftware.asm.Opcodes.*;

import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.ArrayList;

import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Type;
import com.esotericsoftware.asm.ClassWriter;
import com.esotericsoftware.asm.Label;
import com.esotericsoftware.asm.MethodVisitor;
import com.esotericsoftware.asm.Type;

public abstract class FieldAccess {
private String[] fieldNames;
Expand Down
12 changes: 6 additions & 6 deletions src/com/esotericsoftware/reflectasm/MethodAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@

package com.esotericsoftware.reflectasm;

import static org.objectweb.asm.Opcodes.*;
import static com.esotericsoftware.asm.Opcodes.*;

import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Arrays;

import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import com.esotericsoftware.asm.ClassWriter;
import com.esotericsoftware.asm.Label;
import com.esotericsoftware.asm.MethodVisitor;
import com.esotericsoftware.asm.Opcodes;
import com.esotericsoftware.asm.Type;

public abstract class MethodAccess {
private String[] methodNames;
Expand Down

0 comments on commit ade0542

Please sign in to comment.