Skip to content

I20260119-1800

@jjohnstn jjohnstn tagged this 19 Jan 19:39
* Add a quick assist to convert a type into a record if possible

- add new ConvertToRecordRefactoring class which verifies if a type
  can be changed to a record
- add new ConvertToRecordDescriptor class and modify
  RefactoringSignatureDescriptorFactor to return it
- add new ConvertRecordSubProcessor and ConvertRecordBaseSubProcessor
  classes to provide a method that the QuickAssistProcessor can call
  to use the new refactoring and return a ChangeCorrectionProposal
- add new assist to QuickAssistProcessor
- add new tests to AssistQuickFixTest14
- for #2681
Assets 2
Loading