Record Class JTestExpression.SimplyTyped
java.lang.Object
java.lang.Record
honeyroasted.jypestub.model.test.JTestExpression.SimplyTyped
- All Implemented Interfaces:
JTestExpression
- Enclosing interface:
JTestExpression
public static record JTestExpression.SimplyTyped(String def, String declaring, String declaringMethod)
extends Record
implements JTestExpression
-
Nested Class Summary
Nested classes/interfaces inherited from interface honeyroasted.jypestub.model.test.JTestExpression
JTestExpression.Constant, JTestExpression.GetField, JTestExpression.Instantiation, JTestExpression.InstantiationReference, JTestExpression.Invocation, JTestExpression.InvocationReference, JTestExpression.Lambda, JTestExpression.Multi, JTestExpression.SimplyTyped, JTestExpression.Wrapper -
Field Summary
Fields inherited from interface honeyroasted.jypestub.model.test.JTestExpression
SUBTYPE_KEYS -
Constructor Summary
ConstructorsConstructorDescriptionSimplyTyped(String def, String declaring, String declaringMethod) Creates an instance of aSimplyTypedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeclaringrecord component.Returns the value of thedeclaringMethodrecord component.def()Returns the value of thedefrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.honeyroasted.jype.system.JExpressionInformationresolve(honeyroasted.jype.system.JTypeSystem system) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SimplyTyped
Creates an instance of aSimplyTypedrecord class.- Parameters:
def- the value for thedefrecord componentdeclaring- the value for thedeclaringrecord componentdeclaringMethod- the value for thedeclaringMethodrecord component
-
-
Method Details
-
resolve
public honeyroasted.jype.system.JExpressionInformation resolve(honeyroasted.jype.system.JTypeSystem system) - Specified by:
resolvein interfaceJTestExpression
-
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). -
def
Returns the value of thedefrecord component.- Returns:
- the value of the
defrecord component
-
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
-