public class FixDocCommentAction extends EditorAction
AnAction.TransparentUpdate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_ID |
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
FixDocCommentAction() |
Modifier and Type | Method and Description |
---|---|
static void |
generateOrFixComment(PsiElement element,
Project project,
Editor editor)
Generates comment if it's not exist or try to fix if exists
|
actionPerformed, actionPerformed, beforeActionPerformedUpdate, doSetupHandler, getEditor, getHandler, setInjectedContext, setupHandler, update, update, updateForKeyboardAccess
addTextOverride, applyTextOverride, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
public static final java.lang.String ACTION_ID
public static void generateOrFixComment(PsiElement element, Project project, Editor editor)
element
- target element for which a comment should be generatedproject
- current projecteditor
- target editor