Record Class JTestConstraint.Wrapper
java.lang.Object
java.lang.Record
honeyroasted.jypestub.model.test.JTestConstraint.Wrapper
- All Implemented Interfaces:
JStubSerialization.Wrapper<JTestConstraint>
- Enclosing interface:
JTestConstraint
public static record JTestConstraint.Wrapper(JTestConstraint inner)
extends Record
implements JStubSerialization.Wrapper<JTestConstraint>
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionWrapper(JTestConstraint inner) Creates an instance of aWrapperrecord 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.inner()Returns the value of theinnerrecord component.Set<honeyroasted.almonds.Constraint> resolve(honeyroasted.jype.system.JTypeSystem system) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
SERIALIZER
public static JStubSerialization.WrapperSerializer<JTestConstraint, JTestConstraint.Wrapper> SERIALIZER -
DESERIALIZER
public static JStubSerialization.WrapperDeserializer<JTestConstraint, JTestConstraint.Wrapper> DESERIALIZER
-
-
Constructor Details
-
Wrapper
Creates an instance of aWrapperrecord class.- Parameters:
inner- the value for theinnerrecord component
-
-
Method Details
-
resolve
-
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). -
inner
Returns the value of theinnerrecord component.- Specified by:
innerin interfaceJStubSerialization.Wrapper<JTestConstraint>- Returns:
- the value of the
innerrecord component
-