Record Class ProblemResourceDescriptionStrategy.ShadowingKey
java.lang.Object
java.lang.Record
tools.refinery.language.resource.ProblemResourceDescriptionStrategy.ShadowingKey
- Enclosing class:
ProblemResourceDescriptionStrategy
-
Constructor Summary
ConstructorsConstructorDescriptionShadowingKey(org.eclipse.xtext.naming.QualifiedName name, String shadowingKey) Creates an instance of aShadowingKeyrecord class. -
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.org.eclipse.xtext.naming.QualifiedNamename()Returns the value of thenamerecord component.Returns the value of theshadowingKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ShadowingKey
Creates an instance of aShadowingKeyrecord class.- Parameters:
name- the value for thenamerecord componentshadowingKey- the value for theshadowingKeyrecord 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). -
name
public org.eclipse.xtext.naming.QualifiedName name()Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
shadowingKey
Returns the value of theshadowingKeyrecord component.- Returns:
- the value of the
shadowingKeyrecord component
-