docs: public Map<String, GroovyClassDoc> getClassDocsFromSingleSource(String packagePath, String file, String src)
              throws RecognitionException, TokenStreamException {
          if (file.indexOf(".java") > 0) { // simple (for now) decision on java or groovy
              // java
              return parseJava(packagePath, file, src);
          }
          if (file.indexOf(".sourcefile") > 0) {
              // java (special name used for testing)
              return parseJava(packagePath, file, src);
          }
          // not java, try groovy instead :-)
          return parseGroovy(packagePath, file, src);
      }