reasonalble toString for easier debugging

master
Egor.Ushakov 9 years ago
parent 96ff7f787e
commit 081a208a6a
  1. 8
      src/org/jetbrains/java/decompiler/modules/decompiler/exps/Exprent.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2000-2015 JetBrains s.r.o. * Copyright 2000-2016 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.
@ -193,5 +193,9 @@ public class Exprent implements IMatchable {
return true; return true;
} }
@Override
public String toString() {
return toJava(0, new BytecodeMappingTracer()).toString();
}
} }

Loading…
Cancel
Save