Record Class ModuleReference.ParsedAccessors
java.lang.Object
java.lang.Record
com.github._1c_syntax.bsl.languageserver.utils.ModuleReference.ParsedAccessors
- Record Components:
localMethods- множество методов для локального вызова (без указания модуля)moduleMethodPairs- соответствие «имя модуля → множество методов этого модуля»
- Enclosing class:
ModuleReference
public static record ModuleReference.ParsedAccessors(Set<String> localMethods, Map<String, Set<String>> moduleMethodPairs)
extends Record
Предварительно разобранные паттерны доступа к общим модулям.
Структура: - localMethods: Set методов для локального вызова (без модуля) - moduleMethodPairs: Map из имени модуля -> Set методов этого модуля
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelocalMethodsrecord component.Returns the value of themoduleMethodPairsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParsedAccessors
Creates an instance of aParsedAccessorsrecord class.- Parameters:
localMethods- the value for thelocalMethodsrecord componentmoduleMethodPairs- the value for themoduleMethodPairsrecord 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). -
localMethods
Returns the value of thelocalMethodsrecord component.- Returns:
- the value of the
localMethodsrecord component
-
moduleMethodPairs
Returns the value of themoduleMethodPairsrecord component.- Returns:
- the value of the
moduleMethodPairsrecord component
-