Record Class DiagnosticSnapshot.ImplementorInfo
java.lang.Object
java.lang.Record
ca.mcscert.jpipe.compiler.model.DiagnosticSnapshot.ImplementorInfo
- Record Components:
name- the implementing model's name.location- where the implementing model is declared.
- Enclosing class:
DiagnosticSnapshot
public static record DiagnosticSnapshot.ImplementorInfo(String name, SourceLocation location)
extends Record
A model that implements the template being described.
-
Constructor Summary
ConstructorsConstructorDescriptionImplementorInfo(String name, SourceLocation location) Creates an instance of aImplementorInforecord 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.location()Returns the value of thelocationrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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
-
location
-