java.lang.Object
java.lang.Record
org.aya.resolve.context.ModuleSymbol.UnqualifiedResolve<T>
- Enclosing class:
ModuleSymbol<T>
public static record ModuleSymbol.UnqualifiedResolve<T>(@NotNull kala.collection.MapView<ModuleName,T> map, @NotNull kala.value.LazyValue<kala.collection.mutable.MutableMap<ModuleName,T>> asMut)
extends Record
- API Note:
- should not use this after
asMutis called.
-
Constructor Summary
ConstructorsConstructorDescriptionUnqualifiedResolve(@NotNull kala.collection.MapView<ModuleName, T> map, @NotNull kala.value.LazyValue<kala.collection.mutable.MutableMap<ModuleName, T>> asMut) Creates an instance of aUnqualifiedResolverecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull kala.value.LazyValue<kala.collection.mutable.MutableMap<ModuleName,T>> asMut()Returns the value of theasMutrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull kala.collection.MapView<ModuleName,T> map()Returns the value of themaprecord component.@NotNull kala.collection.immutable.ImmutableSeq<ModuleName>final StringtoString()Returns a string representation of this record class.@NotNull kala.collection.immutable.ImmutableSeq<T>
-
Constructor Details
-
UnqualifiedResolve
public UnqualifiedResolve(@NotNull @NotNull kala.collection.MapView<ModuleName, T> map, @NotNull @NotNull kala.value.LazyValue<kala.collection.mutable.MutableMap<ModuleName, T>> asMut) Creates an instance of aUnqualifiedResolverecord class.- Parameters:
map- the value for themaprecord componentasMut- the value for theasMutrecord component
-
-
Method Details
-
uniqueCandidates
-
moduleNames
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
map
Returns the value of themaprecord component.- Returns:
- the value of the
maprecord component
-
asMut
@NotNull public @NotNull kala.value.LazyValue<kala.collection.mutable.MutableMap<ModuleName,T>> asMut()Returns the value of theasMutrecord component.- Returns:
- the value of the
asMutrecord component
-