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