Record Class JTestConstraint.Equal
java.lang.Object
java.lang.Record
honeyroasted.jypestub.model.test.JTestConstraint.Equal
- All Implemented Interfaces:
JTestConstraint
- Enclosing interface:
JTestConstraint
-
Nested Class Summary
Nested classes/interfaces inherited from interface honeyroasted.jypestub.model.test.JTestConstraint
JTestConstraint.Capture, JTestConstraint.Compatible, JTestConstraint.Contains, JTestConstraint.Contradiction, JTestConstraint.Equal, JTestConstraint.ExpressionCompatible, JTestConstraint.Subtype, JTestConstraint.Throws, JTestConstraint.Wrapper -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JStubSerialization.TypeListDeserializer<JTestConstraint.Equal> Fields inherited from interface honeyroasted.jypestub.model.test.JTestConstraint
SUBTYPE_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()Returns the value of thechildrenrecord component.Returns the value of thedeclaringrecord component.Returns the value of thedeclaringMethodrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Set<honeyroasted.almonds.Constraint> resolve(honeyroasted.jype.system.JTypeSystem system) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
DESERIALIZER
-
-
Constructor Details
-
Equal
Creates an instance of aEqualrecord class.- Parameters:
declaring- the value for thedeclaringrecord componentdeclaringMethod- the value for thedeclaringMethodrecord componentchildren- the value for thechildrenrecord component
-
-
Method Details
-
resolve
- Specified by:
resolvein interfaceJTestConstraint
-
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). -
declaring
Returns the value of thedeclaringrecord component.- Returns:
- the value of the
declaringrecord component
-
declaringMethod
Returns the value of thedeclaringMethodrecord component.- Returns:
- the value of the
declaringMethodrecord component
-
children
-