Record Class SymbolicMemberTargetId
java.lang.Object
java.lang.Record
dev.archunitjava.rules.SymbolicMemberTargetId
- All Implemented Interfaces:
StableId, Comparable<StableId>
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolicMemberTargetId(String ownerDescriptor, String name, String descriptor) Creates an instance of aSymbolicMemberTargetIdrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of theownerDescriptorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SymbolicMemberTargetId
Creates an instance of aSymbolicMemberTargetIdrecord class.- Parameters:
ownerDescriptor- the value for theownerDescriptorrecord componentname- the value for thenamerecord componentdescriptor- the value for thedescriptorrecord component
-
-
Method Details
-
stableKey
-
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). -
ownerDescriptor
Returns the value of theownerDescriptorrecord component.- Returns:
- the value of the
ownerDescriptorrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
descriptor
Returns the value of thedescriptorrecord component.- Returns:
- the value of the
descriptorrecord component
-