Record Class JvmReferenceType
java.lang.Object
java.lang.Record
dev.archunitjava.model.JvmReferenceType
- All Implemented Interfaces:
JvmType
-
Constructor Summary
ConstructorsConstructorDescriptionJvmReferenceType(String binaryName) Creates an instance of aJvmReferenceTyperecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebinaryNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JvmReferenceType
Creates an instance of aJvmReferenceTyperecord class.- Parameters:
binaryName- the value for thebinaryNamerecord component
-
-
Method Details
-
descriptor
- Specified by:
descriptorin interfaceJvmType
-
displayName
- Specified by:
displayNamein interfaceJvmType
-
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). -
binaryName
Returns the value of thebinaryNamerecord component.- Returns:
- the value of the
binaryNamerecord component
-