Improved HTML rendering of obfuscation mapping: added constructor signatures and modifiers for classes, fields and methods

This commit is contained in:
2022-06-13 23:01:48 +02:00
parent 3b30968c15
commit 53869636f5
2 changed files with 170 additions and 30 deletions

View File

@@ -295,6 +295,8 @@ public class Reflect {
return cached;
}
public abstract int getModifiers();
}
@@ -358,7 +360,10 @@ public class Reflect {
setValue(null, value);
}
@Override
public int getModifiers() {
return get().getModifiers();
}
}
@@ -388,6 +393,12 @@ public class Reflect {
public Object invokeStatic(Object... values) throws ReflectiveOperationException {
return invoke(null, values);
}
@Override
public int getModifiers() {
return get().getModifiers();
}
}
@@ -420,6 +431,12 @@ public class Reflect {
public T instanciate(Object... values) throws ReflectiveOperationException {
return get().newInstance(values);
}
@Override
public int getModifiers() {
return get().getModifiers();
}
}