toString for debugging

master
Egor.Ushakov 8 years ago
parent 5b634ecb4d
commit cba10744d8
  1. 5
      src/org/jetbrains/java/decompiler/main/rels/ClassWrapper.java
  2. 7
      src/org/jetbrains/java/decompiler/main/rels/MethodWrapper.java

@ -217,4 +217,9 @@ public class ClassWrapper {
public VBStyleCollection<Exprent, String> getDynamicFieldInitializers() { public VBStyleCollection<Exprent, String> getDynamicFieldInitializers() {
return dynamicFieldInitializers; return dynamicFieldInitializers;
} }
@Override
public String toString() {
return classStruct.qualifiedName;
}
} }

@ -1,5 +1,5 @@
/* /*
* Copyright 2000-2016 JetBrains s.r.o. * Copyright 2000-2017 JetBrains s.r.o.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -50,4 +50,9 @@ public class MethodWrapper {
} }
return graph; return graph;
} }
@Override
public String toString() {
return methodStruct.getName();
}
} }
Loading…
Cancel
Save