Skip to content

Commit

Permalink
print hex numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
SirYwell committed Sep 22, 2021
1 parent 664ecf1 commit b735534
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ public Map<Integer, List<Field>> processClasses() {

public static void print(Map<Integer, List<Field>> map, PrintStream out) {
map.forEach((k, v) -> {
out.println("| " + k + " |");
out.println("| --------- |");
out.println("| 0x" + Integer.toHexString(k) + " |");
out.println("| -------------------------------- |");
v.forEach(f -> {
Class<?> decl = f.getDeclaringClass();
String name = f.getName();
Expand Down

0 comments on commit b735534

Please sign in to comment.