Record Class DefinitionDto
java.lang.Object
java.lang.Record
com.github._1c_syntax.bsl.languageserver.mcp.dto.DefinitionDto
- Record Components:
uri- URI файла с объявлением.range- Полный диапазон объявления.selectionRange- Диапазон имени в объявлении.
-
Constructor Summary
ConstructorsConstructorDescriptionDefinitionDto(String uri, RangeDto range, RangeDto selectionRange) Creates an instance of aDefinitionDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static DefinitionDtostatic DefinitionDtofrom(LocationLink link) final inthashCode()Returns a hash code value for this object.range()Returns the value of therangerecord component.Returns the value of theselectionRangerecord component.final StringtoString()Returns a string representation of this record class.uri()Returns the value of theurirecord component.
-
Constructor Details
-
DefinitionDto
-
-
Method Details
-
from
-
from
-
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). -
uri
-
range
-
selectionRange
Returns the value of theselectionRangerecord component.- Returns:
- the value of the
selectionRangerecord component
-