public class InsertThisFix extends InsertConstructorCallFix
PriorityAction.PrioritymyConstructorEMPTY_ARRAY| Constructor and Description |
|---|
InsertThisFix(PsiMethod constructor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAvailable(Project project,
Editor editor,
PsiFile file)
Checks whether this intention is available at a caret offset in the file.
|
getElementToMakeWritable, getFamilyName, getText, invoke, startInWriteActionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrioritypublic InsertThisFix(PsiMethod constructor)
public boolean isAvailable(Project project, Editor editor, PsiFile file)
IntentionActionisAvailable in interface IntentionActionisAvailable in class InsertConstructorCallFixproject - the project in which the availability is checked.editor - the editor in which the intention will be invoked.file - the file open in the editor.true if the intention is available, false otherwise.