Record Class SymbolTextDto
java.lang.Object
java.lang.Record
com.github._1c_syntax.bsl.languageserver.mcp.dto.SymbolTextDto
- Record Components:
name- Имя символа.kind- Вид символа (SymbolKind).scope- Где объявлен символ: имя метода или$moduleдля уровня модуля.range- Диапазон символа в файле.text- Текст диапазона символа.description- Текст комментария-описания над объявлением метода;null, если описания нет или символ не метод.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.name()Returns the value of thenamerecord component.range()Returns the value of therangerecord component.scope()Returns the value of thescoperecord component.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SymbolTextDto
public SymbolTextDto(String name, String kind, String scope, RangeDto range, String text, @Nullable String description) Creates an instance of aSymbolTextDtorecord class.- Parameters:
name- the value for thenamerecord componentkind- the value for thekindrecord componentscope- the value for thescoperecord componentrange- the value for therangerecord componenttext- the value for thetextrecord componentdescription- the value for thedescriptionrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
-
kind
-
scope
-
range
-
text
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-