moduleIndex = 0; classIndex = 0;
    public RubyNodeVisitor(LineCounter lineCounts, List<Member> moduleMembers, List<Member> classMembers, List<Member> methodMembers, List<RubyParser.WarningListener> listeners) {        lineCounter = lineCounts;        namespaceNames = new ArrayList<String>();        currentMember = new LinkedList<Member>();        currentMember.add(new Root(RubyPlugin.getEndOfFileOffset()));        nameVisitor = new NameVisitor();        problemListeners = listeners;        modules = moduleMembers;        classes = classMembers;        methods = methodMembers;        moduleIndex = 0;        classIndex = 0;        methodIndex = 0;    }