public final boolean isDotInsertionPoint() { RubyPlugin.log("insertion? " + String.valueOf(methodCalledOnThis) + " " + String.valueOf(LAST_COMPLETED), CodeAnalyzer.class); boolean insertionPoint = methodCalledOnThis != null;  if (partialMethod != null) { insertionPoint = insertionPoint && !partialMethod.equals(LAST_COMPLETED);
public static boolean isDotInsertionPoint(EditorView view) { String lineUpToCaret = view.getLineUpToCaret(); while (lineUpToCaret.length() > 0 && Character.isWhitespace(lineUpToCaret.charAt(0))) { lineUpToCaret = lineUpToCaret.substring(1);
    public final boolean isDotInsertionPoint() {        RubyPlugin.log("insertion? " + String.valueOf(methodCalledOnThis) + " " + String.valueOf(LAST_COMPLETED), CodeAnalyzer.class);        boolean insertionPoint = methodCalledOnThis != null;        if (partialMethod != null) {            insertionPoint = insertionPoint && !partialMethod.equals(LAST_COMPLETED);        }        return insertionPoint;    }