mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 08:39:09 +00:00
[CLEANUP] Reformatted code
This commit is contained in:
@@ -55,8 +55,9 @@ public class RedirectClassAdapter extends ClassVisitor implements Opcodes {
|
||||
String superName, String[] interfaces) {
|
||||
this.className = name;
|
||||
super.visit(version, access, name, signature, superName, interfaces);
|
||||
if(class_out != null)
|
||||
if(class_out != null) {
|
||||
class_out.println(className + " References:");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -92,7 +92,7 @@ public class ReflectUI extends JFrame {
|
||||
result = f;
|
||||
} else if (value.toLowerCase().endsWith(search.toLowerCase())) {
|
||||
result = f;
|
||||
} else if (value.toLowerCase().contains(search.toLowerCase())){
|
||||
} else if (value.toLowerCase().contains(search.toLowerCase())) {
|
||||
result = f;
|
||||
}
|
||||
}
|
||||
@@ -242,7 +242,7 @@ public class ReflectUI extends JFrame {
|
||||
builder.append("<b>Static: </b>").append(refField.isStatic() ? "yes" : "no").append("<br/>");
|
||||
builder.append("<b>Array: </b>").append(refField.isArray() ? refField.getArrayDimensions() + " dimension(s)" : "no").append("<br/>");
|
||||
|
||||
if (refField.isArray() && refField.getASMType().getClassName().contains("String") && refField.getArrayDimensions() == 1){
|
||||
if (refField.isArray() && refField.getASMType().getClassName().contains("String") && refField.getArrayDimensions() == 1) {
|
||||
String[] strings = (String[]) refField.asObject();
|
||||
String values = StringUtils.implode(", ", strings);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user