Skip to content

Commit

Permalink
1.1.0 update
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoPangxie732 committed Mar 21, 2020
1 parent bbbb2c2 commit e31a486
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.xiaopangxie732</groupId>
<groupId>cn.maxpixel</groupId>
<artifactId>minecraft-decompiler</artifactId>
<version>1.1.0</version>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
public class DeobfuscatorCommandLine {
private static Logger LOGGER = LogManager.getLogger();
public static final Proxy PROXY =
new Proxy(Proxy.Type.HTTP, new InetSocketAddress(1080)); //Just for internal testing.
// Proxy.NO_PROXY;
// new Proxy(Proxy.Type.HTTP, new InetSocketAddress(1080)); //Just for internal testing.
Proxy.NO_PROXY;
public static void main(String[] args) {
System.setProperty("log4j2.skipJansi", "false");
String version;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap;
import it.unimi.dsi.fastutil.objects.ObjectArrayList;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

Expand All @@ -46,4 +48,10 @@ public void visit(int version, int access, String name, String signature, String
public Map<String, List<String>> getMap() {
return superClassMap;
}

@Override
public MethodVisitor visitMethod(int access, String name, String descriptor, String signature, String[] exceptions) {
if((access & Opcodes.ACC_VARARGS) != 0) System.err.println("method: access=" + access + ", name="+name+", descriptor="+descriptor+", signature="+signature+", exceptions="+ Arrays.toString(exceptions));
return super.visitMethod(access, name, descriptor, signature, exceptions);
}
}

0 comments on commit e31a486

Please sign in to comment.