Class AnnotationParamSymbolMarkupContentBuilder
java.lang.Object
com.github._1c_syntax.bsl.languageserver.hover.AnnotationParamSymbolMarkupContentBuilder
- All Implemented Interfaces:
MarkupContentBuilder<AnnotationParamSymbol>
@Component
public class AnnotationParamSymbolMarkupContentBuilder
extends Object
implements MarkupContentBuilder<AnnotationParamSymbol>
Построитель контента для всплывающего окна для
AnnotationSymbol
.-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationParamSymbolMarkupContentBuilder
(DescriptionFormatter descriptionFormatter) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.lsp4j.MarkupContent
getContent
(AnnotationParamSymbol symbol) Возвращает контент для всплывающего окна на основе символа.org.eclipse.lsp4j.SymbolKind
Тип символа, на основе которого работает данный построитель.
-
Constructor Details
-
AnnotationParamSymbolMarkupContentBuilder
@ConstructorProperties("descriptionFormatter") public AnnotationParamSymbolMarkupContentBuilder(DescriptionFormatter descriptionFormatter)
-
-
Method Details
-
getContent
Description copied from interface:MarkupContentBuilder
Возвращает контент для всплывающего окна на основе символа.- Specified by:
getContent
in interfaceMarkupContentBuilder<AnnotationParamSymbol>
- Parameters:
symbol
- Символ, для которого нужно построить контент.- Returns:
- Сконструированный контент.
-
getSymbolKind
public org.eclipse.lsp4j.SymbolKind getSymbolKind()Description copied from interface:MarkupContentBuilder
Тип символа, на основе которого работает данный построитель.- Specified by:
getSymbolKind
in interfaceMarkupContentBuilder<AnnotationParamSymbol>
- Returns:
- тип символа.
-