Record Class JTestExpression.InstantiationReference
java.lang.Object
java.lang.Record
honeyroasted.jypestub.model.test.JTestExpression.InstantiationReference
- All Implemented Interfaces:
JTestExpression
- Enclosing interface:
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.honeyroasted.jype.system.JExpressionInformationresolve(honeyroasted.jype.system.JTypeSystem system) final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.Returns the value of thetypeArgumentsrecord component.
-
Constructor Details
-
InstantiationReference
public InstantiationReference(String type, String declaring, String declaringMethod, List<String> typeArguments) Creates an instance of aInstantiationReferencerecord class.- Parameters:
type- the value for thetyperecord componentdeclaring- the value for thedeclaringrecord componentdeclaringMethod- the value for thedeclaringMethodrecord componenttypeArguments- the value for thetypeArgumentsrecord 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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord 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
-
typeArguments
-