code: public Class parseClass(String text) throws CompilationFailedException {
          return parseClass(text, "script" + System.currentTimeMillis() +
                  Math.abs(text.hashCode()) + ".groovy");
      }
docs: Parses the given text into a Java class capable of being run
  
  @param text the text of the script/class to parse
  @return the main class defined in the given script