Skip to content

I20210213-0600

@jjohnstn jjohnstn tagged this 13 Feb 00:17
- add logic to QuickAssistProcessor.getTryWithResourceProposals
  to support selections within a try/catch block and to add
  a catch clause to handle any un-handled exceptions added by the
  auto-close
- do the same with AssignToVariableAssistProposal.doAddLocal() and
  SurroundWithTryResourcesRefactoring.createTryWithResourcesStatement()
- expose various methods in SurroundWithTryResourcesRefactoring
  for common usage
- add new methods to SurroundWithTryWithResourcesAnalyzer for
  common usage
- add new test scenarios to AssistQuickFixTest1d8 and
  SurroundWithResourcesTests1d8

Change-Id: Ic9cb39126ad9d299b8912ec7f8564432806df006
Assets 2
Loading