System.out.println("found: " + methods.size());
RubyPlugin.log("found: " + methods.size());
    public static void findDeclaration(View view) {        JEditTextArea textArea = view.getTextArea();        int caretPosition = textArea.getCaretPosition();        textArea.selectWord();        String text = textArea.getSelectedText();        textArea.setCaretPosition(caretPosition);        System.out.println("looking for methods named: " + text);        List<Member.Method> methods = RubyCache.getMethods(text);        System.out.println("found: " + methods.size());        if (methods.size() > 0) {            Member[] displayMembers = methods.toArray(new Member[0]);            textArea.scrollToCaret(false);            Point location = textArea.offsetToXY(textArea.getCaretPosition());            location.y += textArea.getPainter().getFontMetrics().getHeight();            SwingUtilities.convertPointToScreen(location, textArea.getPainter());            new TypeAheadPopup(view, displayMembers, displayMembers[0], location);        }    }