Interface CodeLensSupplier

All Known Implementing Classes:
AbstractMethodComplexityCodeLensSupplier, CognitiveComplexityCodeLensSupplier, CyclomaticComplexityCodeLensSupplier

public interface CodeLensSupplier
Базовый интерфейс для наполнения CodeLensProvider данными о доступных в документе линзах.
  • Method Details

    • getCodeLenses

      List<CodeLens> getCodeLenses(DocumentContext documentContext)
      Parameters:
      documentContext - Контекст документа, для которого надо рассчитать линзы.
      Returns:
      Список линз.