onAnalysisFolding method

void onAnalysisFolding(
  1. AnalysisFoldingParams params
)

Reports the folding regions associated with a given file. Folding regions can be nested, but will not be overlapping. Nesting occurs when a foldable element, such as a method, is nested inside another foldable element such as a class.

This notification is not subscribed to by default. Clients can subscribe by including the value "FOLDING" in the list of services passed in an analysis.setSubscriptions request.

Implementation

void onAnalysisFolding(AnalysisFoldingParams params) {}