| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/Android/Android Studio/plugins/Groovy/lib/ |
Upload File : |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
Binding bind
try {
bind = scriptBinding
}
catch (MissingPropertyException ignore) {
bind = scriptBinding = new Binding()
}
try {
def result = new GroovyShell(bind).run(((String)line).replaceAll('###\\\\n', '\n'), 'ideaGroovyConsole.groovy')
System.out.println()
if (result != null) {
System.out.println 'ee2d5778-e2f4-4705-84ef-0847535c32f4' + result
}
}
catch (Throwable e) {
e.printStackTrace()
}