From 081a208a6a58e72c1ab4960ef74e482dfd1fe5df Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Mon, 28 Mar 2016 13:02:19 +0300 Subject: [PATCH] reasonalble toString for easier debugging --- .../java/decompiler/modules/decompiler/exps/Exprent.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/org/jetbrains/java/decompiler/modules/decompiler/exps/Exprent.java b/src/org/jetbrains/java/decompiler/modules/decompiler/exps/Exprent.java index fbd146e..42abbb2 100644 --- a/src/org/jetbrains/java/decompiler/modules/decompiler/exps/Exprent.java +++ b/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"); * you may not use this file except in compliance with the License. @@ -193,5 +193,9 @@ public class Exprent implements IMatchable { return true; } - + + @Override + public String toString() { + return toJava(0, new BytecodeMappingTracer()).toString(); + } }