File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/src/main/java/com/wmods/wppenhacer/xposed/utils Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1212public class DebugUtils {
1313 public static void debugFields (Class <?> cls , Object thisObject ) {
1414 if (cls == null ) return ;
15- XposedBridge .log ("DEBUG FIELDS: Class " + cls .getName ());
15+ XposedBridge .log ("------------------------------------" );
16+ XposedBridge .log ("DEBUG FIELDS: Class " + cls .getName () + " -> Object " + thisObject );
1617 for (var field : cls .getDeclaredFields ()) {
1718 try {
1819 field .setAccessible (true );
@@ -21,7 +22,7 @@ public static void debugFields(Class<?> cls, Object thisObject) {
2122 if (value != null && value .getClass ().isArray ()) {
2223 value = Arrays .toString ((Object []) value );
2324 }
24- XposedBridge .log ("FIELD: " + name + " -> VALUE: " + value );
25+ XposedBridge .log ("FIELD: " + name + " -> TYPE: " + field . getType (). getName () + " -> VALUE: " + value );
2526 } catch (Exception ignored ) {
2627 }
2728 }
You can’t perform that action at this time.
0 commit comments