public final synchronized void add(RubyMembers members, String path) { if (!members.containsErrors()) { add(path, members); }
private void add(RubyMembers members, String path) { parentToMethods.resetAllMethodsList(); pathToMembers.put(path, members); members.visitMembers(new MemberVisitorAdapter() { public void handleModule(Module module) { parentToImmediateMethods.add(module); parentToMethods.add(module); nameToParents.add(module); }  public void handleClass(ClassMember classMember) { parentToImmediateMethods.add(classMember); parentToMethods.add(classMember); nameToParents.add(classMember); }  public void handleMethod(Method method) { methodToParents.add(method); nameToMethods.add(method); } });
    public final synchronized void add(RubyMembers members, String path) {        if (!members.containsErrors()) {            add(path, members);        }    }