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