Record Class PlatformMemberCalls.CallSites
java.lang.Object
java.lang.Record
com.github._1c_syntax.bsl.languageserver.diagnostics.platform.PlatformMemberCalls.CallSites
- Record Components:
members- резолвленные члены (метод, свойство, глобальная функция). Для union-типа ресивера возвращаются все кандидаты-владельцы (по одномуTypeService.TypedMemberна тип) с одинаковым диапазоном.constructedTypes- типы, конструируемые черезНовый Тип(…).
- Enclosing class:
PlatformMemberCalls
public static record PlatformMemberCalls.CallSites(List<TypeService.TypedMember> members, List<PlatformMemberCalls.ConstructedType> constructedTypes)
extends Record
Места обращения к платформенному API в одном модуле.
-
Constructor Summary
ConstructorsConstructorDescriptionCallSites(List<TypeService.TypedMember> members, List<PlatformMemberCalls.ConstructedType> constructedTypes) Creates an instance of aCallSitesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconstructedTypesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.members()Returns the value of themembersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CallSites
public CallSites(List<TypeService.TypedMember> members, List<PlatformMemberCalls.ConstructedType> constructedTypes) Creates an instance of aCallSitesrecord class.- Parameters:
members- the value for themembersrecord componentconstructedTypes- the value for theconstructedTypesrecord 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). -
members
-
constructedTypes
Returns the value of theconstructedTypesrecord component.- Returns:
- the value of the
constructedTypesrecord component
-