public static class ConvertFieldToAtomicIntention.ConvertNonFinalLocalToAtomicFix extends ConvertFieldToAtomicIntention
ConvertFieldToAtomicIntention.ConvertNonFinalLocalToAtomicFix
PriorityAction.Priority
EMPTY_ARRAY
Constructor and Description |
---|
ConvertNonFinalLocalToAtomicFix(PsiElement context) |
Modifier and Type | Method and Description |
---|---|
PriorityAction.Priority |
getPriority() |
boolean |
isAvailable(Project project,
Editor editor,
PsiElement element)
Checks whether this intention is available at a caret offset in file.
|
getFamilyName, getText, invoke, startInWriteAction
checkFile, invoke, isAvailable
canModify, setText, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getElementToMakeWritable
public ConvertNonFinalLocalToAtomicFix(PsiElement context)
public PriorityAction.Priority getPriority()
getPriority
in interface PriorityAction
getPriority
in class ConvertFieldToAtomicIntention
public boolean isAvailable(Project project, Editor editor, PsiElement element)
PsiElementBaseIntentionAction
isAvailable
in class ConvertFieldToAtomicIntention
project
- the project in which the availability is checked.editor
- the editor in which the intention will be invoked.element
- the element under caret.