-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reuse quick fixes from LocalCorrectionsBaseSubProcessor.
- New quick fixes : - UnqualifiedFieldAccess -> addUnqualifiedFieldAccessProposal - UnnecessaryInstanceof -> addUnnecessaryInstanceofProposal - IllegalQualifiedEnumConstantLabel -> addIllegalQualifiedEnumConstantLabelProposal - UnnecessaryElse -> addUnnecessaryElseProposals - SuperclassMustBeAClass -> addInterfaceExtendsClassProposals - AssignmentHasNoEffect -> addAssignmentHasNoEffectProposals - FallthroughCase, IllegalFallthroughToPattern -> addFallThroughProposals - UnsafeTypeConversion, RawTypeReference, UnsafeRawMethodInvocation -> addDeprecatedFieldsToMethodsProposals - IllegalTotalPatternWithDefault -> addRemoveDefaultCaseProposal - SuperfluousSemicolon -> addSuperfluousSemicolonProposal - AbstractServiceImplementation, ProviderMethodOrConstructorRequiredForServiceImpl, ServiceImplDefaultConstructorNotPublic -> addServiceProviderConstructorProposals - NonStaticFieldFromStaticInvocation, NonStaticFieldFromStaticInvocation -> addObjectReferenceProposal, addVariableReferenceProposal, addNewObjectProposal - Fix the JDT-LS QuickFixProcessor to better match upstream (by preventing fall-throughs, with 'break' where appropriate) - Preserve non-upstreamed behaviour of surrounding all selected statements when "Surrounding with try/catch" - Based on https://eclip.se/545163 the "Surround with try-catch" quick-fix is not valid for a 'throw' statement so we should adjust those testcases to use methods with throw declarations instead - Ensure the current compilation unit primary type is never used when it is null Signed-off-by: Roland Grunberg <[email protected]>
- Loading branch information
Showing
4 changed files
with
189 additions
and
498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.