All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
abstract IntentionAction |
addMethodQualifierFix(PsiMethodCallExpression methodCall) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createAccessStaticViaInstanceFix(PsiReferenceExpression methodRef,
JavaResolveResult result) |
abstract java.util.List<IntentionAction> |
createAddAnnotationAttributeNameFixes(PsiNameValuePair pair) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createAddConstructorFix(PsiClass aClass,
java.lang.String modifier) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createAddDefaultConstructorFix(PsiClass aClass) |
abstract IntentionAction |
createAddEmptyRecordHeaderFix(PsiClass record) |
abstract IntentionAction |
createAddExceptionFromFieldInitializerToConstructorThrowsFix(PsiElement element) |
abstract IntentionAction |
createAddExceptionToCatchFix() |
abstract IntentionAction |
createAddExceptionToExistingCatch(PsiElement element) |
abstract IntentionAction |
createAddExceptionToThrowsFix(PsiElement element) |
abstract IntentionAction |
createAddMethodBodyFix(PsiMethod method) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createAddMethodFix(PsiMethod method,
PsiClass toClass) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createAddMethodFix(java.lang.String methodText,
PsiClass toClass,
java.lang.String... exceptions) |
abstract IntentionAction |
createAddMissingEnumBranchesFix(PsiSwitchBlock switchBlock,
java.util.Set<java.lang.String> missingCases) |
abstract IntentionAction |
createAddMissingRequiredAnnotationParametersFix(PsiAnnotation annotation,
PsiMethod [] annotationMethods,
java.util.Collection<java.lang.String> missedElements) |
abstract IntentionAction |
createAddNewArrayExpressionFix(PsiArrayInitializerExpression expression) |
abstract IntentionAction |
createAddParameterListFix(PsiMethod method) |
abstract IntentionAction |
createAddReturnFix(PsiParameterListOwner methodOrLambda) |
abstract IntentionAction |
createAddSwitchDefaultFix(PsiSwitchBlock switchBlock,
java.lang.String message) |
abstract IntentionAction |
createAddToDependencyInjectionAnnotationsFix(Project project,
java.lang.String qualifiedName) |
IntentionAction |
createAddToDependencyInjectionAnnotationsFix(Project project,
java.lang.String qualifiedName,
java.lang.String element)
|
abstract IntentionAction |
createAddToImplicitlyWrittenFieldsFix(Project project,
java.lang.String qualifiedName) |
abstract IntentionAction |
createAddTypeCastFix(PsiType type,
PsiExpression expression) |
abstract IntentionAction |
createAddVariableInitializerFix(PsiVariable variable) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createAssignmentToComparisonFix(PsiAssignmentExpression expr) |
abstract IntentionAction |
createChangeClassSignatureFromUsageFix(PsiClass owner,
PsiReferenceParameterList parameterList) |
abstract IntentionAction |
createChangeExtendsToImplementsFix(PsiClass aClass,
PsiClassType classToExtendFrom) |
abstract IntentionAction |
createChangeMethodSignatureFromUsageFix(PsiMethod targetMethod,
PsiExpression [] expressions,
PsiSubstitutor substitutor,
PsiElement context,
boolean changeAllUsages,
int minUsagesNumberToShowDialog) |
abstract IntentionAction |
createChangeMethodSignatureFromUsageReverseOrderFix(PsiMethod targetMethod,
PsiExpression [] expressions,
PsiSubstitutor substitutor,
PsiElement context,
boolean changeAllUsages,
int minUsagesNumberToShowDialog) |
abstract IntentionAction |
createChangeModifierFix() |
abstract IntentionAction |
createChangeParameterClassFix(PsiClass aClass,
PsiClassType type) |
abstract IntentionAction |
createChangeToAppendFix(IElementType sign,
PsiType type,
PsiAssignmentExpression assignment) |
abstract IntentionAction |
createCollapseAnnotationsFix(PsiAnnotation annotation) |
abstract IntentionAction |
createCollectionToArrayFix(PsiExpression collectionExpression,
PsiExpression expressionToReplace,
PsiArrayType arrayType) |
abstract IntentionAction |
createConvertSwitchToIfIntention(PsiSwitchStatement statement) |
abstract IntentionAction |
createConvertToStringLiteralAction() |
abstract IntentionAction |
createCreateAnnotationMethodFromUsageFix(PsiNameValuePair pair) |
abstract IntentionAction |
createCreateClassInPackageInModuleFix(Module module,
java.lang.String packageName) |
abstract IntentionAction |
createCreateClassOrInterfaceFix(PsiElement context,
java.lang.String qualifiedName,
boolean createClass,
java.lang.String superClass) |
abstract IntentionAction |
createCreateClassOrPackageFix(PsiElement context,
java.lang.String qualifiedName,
boolean createClass,
java.lang.String superClass) |
java.util.List<IntentionAction> |
createCreateConstructorFromCallExpressionFixes(PsiMethodCallExpression call) |
java.util.List<IntentionAction> |
createCreateConstructorFromUsageFixes(PsiConstructorCall call) |
abstract IntentionAction |
createCreateConstructorMatchingSuperFix(PsiClass aClass) |
abstract IntentionAction |
createCreateConstructorParameterFromFieldFix(PsiField field) |
abstract IntentionAction |
createCreateFieldFromUsageFix(PsiReferenceExpression place) |
abstract IntentionAction |
createCreateFieldOrPropertyFix(PsiClass aClass,
java.lang.String name,
PsiType type,
PropertyMemberType targetMember,
PsiAnnotation... annotations) |
abstract IntentionAction |
createCreateGetterOrSetterFix(boolean createGetter,
boolean createSetter,
PsiField field) |
abstract IntentionAction |
createCreateMethodFromUsageFix(PsiMethodReferenceExpression methodReferenceExpression) |
java.util.List<IntentionAction> |
createCreateMethodFromUsageFixes(PsiMethodCallExpression call) |
abstract IntentionAction |
createDeferFinalAssignmentFix(PsiVariable variable,
PsiReferenceExpression expression) |
abstract IntentionAction |
createDeleteCatchFix(PsiParameter parameter) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createDeleteFix(PsiElement element) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createDeleteFix(PsiElement element,
java.lang.String text) |
abstract IntentionAction |
createDeleteMethodBodyFix(PsiMethod method) |
abstract IntentionAction |
createDeleteMultiCatchFix(PsiTypeElement element) |
abstract IntentionAction |
createDeleteReturnFix(PsiMethod method,
PsiReturnStatement returnStatement,
PsiExpression returnValue)
Provides fix to remove return statement or return value in case when return statement is not last statement in block.
|
abstract IntentionAction |
createDeleteSideEffectAwareFix(PsiExpressionStatement statement) |
abstract IntentionAction |
createEnableOptimizeImportsOnTheFlyFix() |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createExtendsListFix(PsiClass aClass,
PsiClassType typeToExtendFrom,
boolean toAdd) |
abstract IntentionAction |
createImplementAbstractClassMethodsFix(PsiElement elementToHighlight) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createImplementMethodsFix(PsiClass psiElement) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createImplementMethodsFix(PsiElement psiElement) |
abstract IntentionAction |
createIncreaseLanguageLevelFix(LanguageLevel level) |
abstract IntentionAction |
createInitializeFinalFieldInConstructorFix(PsiField field) |
abstract IntentionAction |
createInsertMethodCallFix(PsiMethodCallExpression call,
PsiMethod method) |
abstract IntentionAction |
createInsertNewFix(PsiMethodCallExpression call,
PsiClass aClass) |
abstract IntentionAction |
createInsertSuperFix(PsiMethod constructor) |
abstract IntentionAction |
createInsertThisFix(PsiMethod constructor) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createMakeClassInterfaceFix(PsiClass aClass) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createMakeClassInterfaceFix(PsiClass aClass,
boolean makeInterface) |
abstract IntentionAction |
createMakeVarargParameterLastFix(PsiParameter parameter) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createMethodParameterTypeFix(PsiMethod method,
int index,
PsiType newType,
boolean fixWholeHierarchy) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createMethodReturnFix(PsiMethod method,
PsiType toReturn,
boolean fixWholeHierarchy) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createMethodReturnFix(PsiMethod method,
PsiType toReturn,
boolean fixWholeHierarchy,
boolean suggestSuperTypes) |
abstract LocalQuickFixOnPsiElement |
createMethodThrowsFix(PsiMethod method,
PsiClassType exceptionClass,
boolean shouldThrow,
boolean showContainingClass) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createModifierListFix(PsiModifierListOwner owner,
java.lang.String modifier,
boolean shouldHave,
boolean showContainingClass) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createModifierListFix(PsiModifierList modifierList,
java.lang.String modifier,
boolean shouldHave,
boolean showContainingClass)
Consider to use
createModifierListFix(PsiModifierListOwner, String, boolean, boolean) for java only fix or
JvmElementActionsFactory#createChangeModifierActions(com.intellij.lang.jvm.JvmModifiersOwner, com.intellij.lang.jvm.actions.ChangeModifierRequest)
for jvm languages transparent fix
Usage of this method might be unsafe in case of fixing java multi variable declaration modifier list
|
abstract IntentionAction |
createMoveBoundClassToFrontFix(PsiClass aClass,
PsiClassType type) |
abstract IntentionAction |
createMoveCatchUpFix(PsiCatchSection section,
PsiCatchSection section1) |
abstract IntentionAction |
createMoveClassToSeparateFileFix(PsiClass aClass) |
abstract IntentionAction |
createNavigateToAlreadyDeclaredVariableFix(PsiVariable variable) |
abstract IntentionAction |
createNegationBroadScopeFix(PsiPrefixExpression expr) |
abstract IntentionAction |
createNotIterableForEachLoopFix(PsiExpression expression) |
abstract IntentionAction |
createOptimizeImportsFix(boolean onTheFly) |
abstract IntentionAction |
createPushDownMethodFix() |
abstract IntentionAction |
createQualifyStaticMethodCallFix(PsiMethodCallExpression call) |
abstract IntentionAction |
createRemoveNewQualifierFix(PsiNewExpression expression,
PsiClass aClass) |
abstract IntentionAction |
createRemoveParameterListFix(PsiMethod parent) |
abstract IntentionAction |
createRemoveQualifierFix(PsiExpression qualifier,
PsiReferenceExpression expression,
PsiClass resolved) |
abstract IntentionAction |
createRemoveTypeArgumentsFix(PsiElement variable) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createRemoveUnusedParameterFix(PsiParameter parameter) |
abstract IntentionAction |
createRemoveUnusedVariableFix(PsiVariable variable) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createRenameElementFix(PsiNamedElement element) |
abstract LocalQuickFixAndIntentionActionOnPsiElement |
createRenameElementFix(PsiNamedElement element,
java.lang.String newName) |
abstract IntentionAction |
createRenameFileFix(java.lang.String newName) |
abstract IntentionAction |
createRenameToIgnoredFix(PsiNamedElement namedElement) |
abstract IntentionAction |
createRenameWrongRefFix(PsiReferenceExpression ref) |
abstract IntentionAction |
createReplaceAddAllArrayToCollectionFix(PsiMethodCallExpression call) |
abstract IntentionAction |
createReplaceInaccessibleFieldWithGetterSetterFix(PsiElement element,
PsiMethod getter,
boolean isSetter) |
abstract IntentionAction |
createReplacePrimitiveWithBoxedTypeAction(PsiTypeElement element,
java.lang.String typeName,
java.lang.String boxedTypeName) |
abstract IntentionAction |
createReplaceWithListAccessFix(PsiArrayAccessExpression expression) |
abstract IntentionAction |
createReuseVariableDeclarationFix(PsiLocalVariable variable) |
abstract IntentionAction |
createSafeDeleteFix(PsiElement element) |
IntentionAction |
createSameErasureButDifferentMethodsFix(PsiMethod method,
PsiMethod superMethod) |
abstract IntentionAction |
createShowModulePropertiesFix(Module module) |
abstract IntentionAction |
createShowModulePropertiesFix(PsiElement element) |
abstract IntentionAction |
createStaticImportMethodFix(PsiMethodCallExpression call) |
abstract IntentionAction |
createSuperMethodReturnFix(PsiMethod superMethod,
PsiType superMethodType) |
abstract IntentionAction |
createSurroundWithArrayFix(PsiCall methodCall,
PsiExpression expression) |
abstract IntentionAction |
createSurroundWithQuotesAnnotationParameterValueFix(PsiAnnotationMemberValue value,
PsiType expectedType) |
abstract IntentionAction |
createSurroundWithTryCatchFix(PsiElement element) |
abstract IntentionAction |
createVariableAccessFromInnerClassFix(PsiVariable variable,
PsiElement scope) |
abstract IntentionAction |
createWrapExpressionFix(PsiType type,
PsiExpression expression) |
abstract IntentionAction |
createWrapSwitchRuleStatementsIntoBlockFix(PsiSwitchLabeledRuleStatement rule) |
abstract IntentionAction |
createWrapWithAdapterFix(PsiType type,
PsiExpression expression) |
abstract IntentionAction |
createWrapWithOptionalFix(PsiType type,
PsiExpression expression) |
static QuickFixFactory |
getInstance() |
abstract java.util.List<IntentionAction> |
getVariableTypeFromCallFixes(PsiMethodCallExpression call,
PsiExpressionList list) |
abstract void |
registerFixesForUnusedParameter(PsiParameter parameter,
java.lang.Object highlightInfo) |
abstract java.util.List<LocalQuickFix> |
registerOrderEntryFixes(QuickFixActionRegistrar registrar,
PsiReference reference) |
abstract void |
registerPullAsAbstractUpFixes(PsiMethod method,
QuickFixActionRegistrar registrar) |