Package tools.refinery.language.scoping
Record Class ProblemGlobalScopeProvider.LoadedImports
java.lang.Object
java.lang.Record
tools.refinery.language.scoping.ProblemGlobalScopeProvider.LoadedImports
- Enclosing class:
ProblemGlobalScopeProvider
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLoadedImports(List<org.eclipse.xtext.resource.ISelectable> qualifiedImports, List<org.eclipse.xtext.resource.ISelectable> implicitImports, List<org.eclipse.xtext.resource.ISelectable> explicitImports) Creates an instance of aLoadedImportsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.List<org.eclipse.xtext.resource.ISelectable> Returns the value of theexplicitImportsrecord component.final inthashCode()Returns a hash code value for this object.List<org.eclipse.xtext.resource.ISelectable> Returns the value of theimplicitImportsrecord component.List<org.eclipse.xtext.resource.ISelectable> Returns the value of thequalifiedImportsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LoadedImports
protected LoadedImports(List<org.eclipse.xtext.resource.ISelectable> qualifiedImports, List<org.eclipse.xtext.resource.ISelectable> implicitImports, List<org.eclipse.xtext.resource.ISelectable> explicitImports) Creates an instance of aLoadedImportsrecord class.- Parameters:
qualifiedImports- the value for thequalifiedImportsrecord componentimplicitImports- the value for theimplicitImportsrecord componentexplicitImports- the value for theexplicitImportsrecord component
-
-
Method Details
-
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). -
qualifiedImports
Returns the value of thequalifiedImportsrecord component.- Returns:
- the value of the
qualifiedImportsrecord component
-
implicitImports
Returns the value of theimplicitImportsrecord component.- Returns:
- the value of the
implicitImportsrecord component
-
explicitImports
Returns the value of theexplicitImportsrecord component.- Returns:
- the value of the
explicitImportsrecord component
-