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
ModifierConstructorDescriptionprotected
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 aLoadedImports
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.List
<org.eclipse.xtext.resource.ISelectable> Returns the value of theexplicitImports
record component.final int
hashCode()
Returns a hash code value for this object.List
<org.eclipse.xtext.resource.ISelectable> Returns the value of theimplicitImports
record component.List
<org.eclipse.xtext.resource.ISelectable> Returns the value of thequalifiedImports
record component.final String
toString()
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 aLoadedImports
record class.- Parameters:
qualifiedImports
- the value for thequalifiedImports
record componentimplicitImports
- the value for theimplicitImports
record componentexplicitImports
- the value for theexplicitImports
record 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 thequalifiedImports
record component.- Returns:
- the value of the
qualifiedImports
record component
-
implicitImports
Returns the value of theimplicitImports
record component.- Returns:
- the value of the
implicitImports
record component
-
explicitImports
Returns the value of theexplicitImports
record component.- Returns:
- the value of the
explicitImports
record component
-