Record Class JTestExpression.Instantiation
java.lang.Object
java.lang.Record
honeyroasted.jypestub.model.test.JTestExpression.Instantiation
- All Implemented Interfaces:
JTestExpression
- Enclosing interface:
JTestExpression
public static record JTestExpression.Instantiation(String declaring, String declaringMethod, String type, List<JTestExpression.Wrapper> parameters, List<String> typeArguments)
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
ConstructorsConstructorDescriptionInstantiation(String declaring, String declaringMethod, String type, List<JTestExpression.Wrapper> parameters, List<String> typeArguments) Creates an instance of aInstantiationrecord class. -
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.Returns the value of theparametersrecord component.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
-
Instantiation
public Instantiation(String declaring, String declaringMethod, String type, List<JTestExpression.Wrapper> parameters, List<String> typeArguments) Creates an instance of aInstantiationrecord class.- Parameters:
declaring- the value for thedeclaringrecord componentdeclaringMethod- the value for thedeclaringMethodrecord componenttype- the value for thetyperecord componentparameters- the value for theparametersrecord 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). -
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
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-
typeArguments
-