public URL loadGroovySource(String className) throws MalformedURLException {
    if (className == null) return null;

    File file = getSourceFile(className);
    if (file != null && file.exists()) {
      return file.toURL();
    }

    file = new File(className);
    if (file.exists()) {
      return file.toURL();
    }

    return null;
  }
public URL loadGroovySource(String className)