TokenCursor cursor =
editor.getSession().getMode().getCodeModel().getTokenCursor();
cursor.moveToPosition(editor.getCursorPosition());
if (cursor.moveToNextToken())
textFollowingCursorHasOpenParen =
cursor.currentValue() == "(";
}
String value = qualifiedName.name;
String pkgName = qualifiedName.pkgName;
boolean shouldQuote = qualifiedName.shouldQuote;