code: public static Object runMeSomeCode( Object enclosingInstance, ClassLoader cl, Object[] extSyms, String strText, final String strClassContext, String strContextElementClass, int iSourcePosition )
    {
       // Must execute in caller's classloader
      try
      {
        Class<?> cls;
        try
        {
          cls = Class.forName( ContextSensitiveCodeRunner.class.getName(), false, cl );
        }
        catch( Exception e )
        {
          cls = ContextSensitiveCodeRunner.class;
        }
        Method m = cls.getDeclaredMethod( "_runMeSomeCode", Object.class, Object[].class, String.class, String.class, String.class, int.class );
        m.setAccessible( true );
        return m.invoke( null, enclosingInstance, extSyms, strText, strClassContext, strContextElementClass, iSourcePosition );
      }
      catch( Exception e ) {
        e.printStackTrace();
        Throwable cause = GosuExceptionUtil.findExceptionCause( e );
        if( cause instanceof ParseResultsException ) {
          List<IParseIssue> parseExceptions = ((ParseResultsException)cause).getParseExceptions();
          if( parseExceptions != null && parseExceptions.size() >= 0 ) {
            throw GosuExceptionUtil.forceThrow( (Throwable)parseExceptions.get( 0 ) );
          }
        }
        throw GosuExceptionUtil.forceThrow( cause );
      }
    }
docs: Intended for use with a debugger to evaluate arbitrary expressions/programs
  in the context of a source position being debugged, usually at a breakpoint.
  
  @param enclosingInstance The instance of the object immediately enclosing the source position.
  @param extSyms An array of adjacent name/value pairs corresponding with the names and values of local symbols in scope.
  @param strText The text of the expression/program.
  @param strClassContext The name of the top-level class enclosing the the source position.
  @param strContextElementClass The name of the class immediately enclosing the source position (can be same as strClassContext).
  @param iSourcePosition  The index of the source position within the containing file.
  @return The result of the expression or, in the case of a program, the return value of the program.