reasonalble toString for easier debugging

This commit is contained in:
Egor.Ushakov
2016-03-28 13:02:19 +03:00
parent 96ff7f787e
commit 081a208a6a

View File

@@ -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();
}
} }