Class AbstractToggleComplexityInlayHintsCommandSupplier
java.lang.Object
com.github._1c_syntax.bsl.languageserver.commands.complexity.AbstractToggleComplexityInlayHintsCommandSupplier
- All Implemented Interfaces:
CommandSupplier<ToggleComplexityInlayHintsCommandArguments>
- Direct Known Subclasses:
ToggleCognitiveComplexityInlayHintsCommandSupplier,ToggleCyclomaticComplexityInlayHintsCommandSupplier
public abstract class AbstractToggleComplexityInlayHintsCommandSupplier
extends Object
implements CommandSupplier<ToggleComplexityInlayHintsCommandArguments>
Базовый класс для поставщиков команды переключения подсказок сложности.
-
Field Summary
Fields inherited from interface com.github._1c_syntax.bsl.languageserver.commands.CommandSupplier
COMMAND_SUPPLIER_SUFFIX -
Constructor Summary
ConstructorsConstructorDescriptionAbstractToggleComplexityInlayHintsCommandSupplier(AbstractComplexityInlayHintSupplier complexityInlayHintSupplier) -
Method Summary
Modifier and TypeMethodDescriptionВыполнить серверную команду.Получение класса аргументов команды.booleanФлаг, показывающий необходимость обновить inlay hints после выполнения команды.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github._1c_syntax.bsl.languageserver.commands.CommandSupplier
createCommand, getId, needRefreshCodeLensesAfterExecuteCommand
-
Constructor Details
-
AbstractToggleComplexityInlayHintsCommandSupplier
@ConstructorProperties("complexityInlayHintSupplier") public AbstractToggleComplexityInlayHintsCommandSupplier(AbstractComplexityInlayHintSupplier complexityInlayHintSupplier)
-
-
Method Details
-
getCommandArgumentsClass
Получение класса аргументов команды.- Specified by:
getCommandArgumentsClassin interfaceCommandSupplier<ToggleComplexityInlayHintsCommandArguments>- Returns:
- Класс аргументов команды.
-
execute
Выполнить серверную команду.- Specified by:
executein interfaceCommandSupplier<ToggleComplexityInlayHintsCommandArguments>- Parameters:
arguments- Аргументы команды.- Returns:
- Результат выполнения команды.
-
needRefreshInlayHintsAfterExecuteCommand
public boolean needRefreshInlayHintsAfterExecuteCommand()Флаг, показывающий необходимость обновить inlay hints после выполнения команды.- Specified by:
needRefreshInlayHintsAfterExecuteCommandin interfaceCommandSupplier<ToggleComplexityInlayHintsCommandArguments>- Returns:
- Флаг, показывающий необходимость обновить inlay hints после выполнения команды.
-