Update Assistant (Beta)
Introduction
The Update Assistant (Beta) pane scans the Java code in your app for deprecated APIs. You can use it to review detected deprecations, see where they occur, and inspect the affected code.
To open the Update Assistant (Beta) pane, select View > Update Assistant (Beta).
The pane consists of a top bar and a results table.
Top Bar
The top bar contains the following buttons:
- Check now – scans your app for Java deprecations and refreshes the results list
- Marketplace Modules – includes Marketplace modules in the scan results
- Export – exports the current scan results
Results Table
The results table lists each detected deprecation and contains the following columns:
- Type – shows a Java icon for Java deprecations
- Message – shows the deprecation message
- Module – shows the module that contains the issue
- Document – shows the affected document, such as a Java action
- File path – shows the path to the affected Java file
Long messages and file paths can be truncated in the table. Double-click a row to open the full details for that result.
Export
Click Export to export the detected deprecations to an .xlsx file.
The exported workbook contains one sheet named Document deprecations. The sheet contains the following columns:
Message– the deprecation messageModule– the module that contains the issueDocument– the affected documentPath– the path to the affected Java fileLine– the line number of the deprecated codeClass– the Java class that contains the deprecated memberMethod– the deprecated methodMarketplace module– indicates withtrueorfalsewhether the result belongs to a Marketplace module
Deprecation Details
Double-click a row to open a deprecation details dialog for that file.
This dialog shows the following information:
- Identified issue – the deprecation message
- File path – the full path to the affected Java file; you can copy this path from the dialog
- Problem highlight – a code snippet with the deprecated code highlighted
The highlighted code helps you locate the deprecated call in the file and update it.