public List<Match> getMatches(String text) throws REException {
public final List<Match> getMatches(String text, LineCounter lineCounter) throws REException { text = adjustForSingleLine(text, lineCounter, "module"); text = adjustForSingleLine(text, lineCounter, "class");
        public List<Match> getMatches(String text) throws REException {            String paramPattern =                    "(\\(.*\\))"+                    "|"+                    "(.*)";            return getMatchList("([ ]*)(def[ ]+)([^;\\(\\s]*)(" + paramPattern + ")?", text);        }