Record Class PrimitiveName
java.lang.Object
java.lang.Record
tools.refinery.language.typesystem.PrimitiveName
-
Constructor Summary
ConstructorsConstructorDescriptionPrimitiveName(org.eclipse.xtext.naming.QualifiedName qualifiedName) Creates an instance of aPrimitiveNamerecord class.PrimitiveName(org.eclipse.xtext.naming.QualifiedName prefix, String name) -
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.QualifiedNameReturns the value of thequalifiedNamerecord component.@NotNull StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PrimitiveName
-
PrimitiveName
public PrimitiveName(org.eclipse.xtext.naming.QualifiedName qualifiedName) Creates an instance of aPrimitiveNamerecord class.- Parameters:
qualifiedName- the value for thequalifiedNamerecord 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). -
qualifiedName
public org.eclipse.xtext.naming.QualifiedName qualifiedName()Returns the value of thequalifiedNamerecord component.- Returns:
- the value of the
qualifiedNamerecord component
-