Fix: IDEA-79640 ('Evaluate expression' does not work with Groovy)(cherry picked from commit 0becb2a)

This commit is contained in:
Sergey Evdokimov
2012-01-10 14:09:49 +03:00
parent 60716bdb41
commit 6596c35feb
@@ -109,7 +109,7 @@ public class GroovyCodeFragmentFactory implements CodeFragmentFactory {
javaText.append("if (java.util.Arrays.toString(new Exception().getStackTrace()).matches(\"[^,]+\\\\$\\\\$[A-Za-z0-9]{8}\\\\.[^,]+\\\\(" + s + ":\\\\d+\\\\), .+com\\\\.springsource\\\\.loaded\\\\..+\")) {\n");
javaText.append(" |thiz0 = thiz;\n");
javaText.append(" } else {\n");
javaText.append(" |thiz0 = this.getClass();\n");
javaText.append(" |thiz0 = this;\n");
javaText.append(" }\n");
}
}