Class CyclomaticComplexityInlayHintSupplier
java.lang.Object
com.github._1c_syntax.bsl.languageserver.inlayhints.AbstractComplexityInlayHintSupplier
com.github._1c_syntax.bsl.languageserver.inlayhints.CyclomaticComplexityInlayHintSupplier
- All Implemented Interfaces:
InlayHintSupplier
@Component
public class CyclomaticComplexityInlayHintSupplier
extends AbstractComplexityInlayHintSupplier
Поставщик подсказок о цикломатической сложности методов.
-
Field Summary
Fields inherited from interface InlayHintSupplier
INLAY_HINT_SUPPLIER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<MethodSymbol, List<ComplexitySecondaryLocation>> getComplexityLocations(DocumentContext documentContext) Получение мест увеличения сложности метода.Methods inherited from class AbstractComplexityInlayHintSupplier
getInlayHints, toggleHintsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface InlayHintSupplier
getId
-
Constructor Details
-
CyclomaticComplexityInlayHintSupplier
public CyclomaticComplexityInlayHintSupplier()
-
-
Method Details
-
getComplexityLocations
protected Map<MethodSymbol, List<ComplexitySecondaryLocation>> getComplexityLocations(DocumentContext documentContext) Получение мест увеличения сложности метода. Нужно переопределить в наследниках.- Specified by:
getComplexityLocationsin classAbstractComplexityInlayHintSupplier- Parameters:
documentContext- Контекст документа.- Returns:
- Места увеличения сложности метода.
-