Record Class JExpressionInformation.Instantiation.Simple
java.lang.Object
java.lang.Record
honeyroasted.jype.system.JExpressionInformation.Instantiation.Simple
- All Implemented Interfaces:
honeyroasted.almonds.SimpleName,JExpressionInformation,JExpressionInformation.Instantiation,JExpressionInformation.Invocation
- Enclosing interface:
JExpressionInformation.Instantiation
public static record JExpressionInformation.Instantiation.Simple(JClassReference declaring, JMethodReference declaringMethod, JClassReference type, List<JExpressionInformation> parameters, List<JArgumentType> explicitTypeArguments)
extends Record
implements JExpressionInformation.Instantiation
-
Nested Class Summary
Nested classes/interfaces inherited from interface honeyroasted.jype.system.JExpressionInformation
JExpressionInformation.Constant, JExpressionInformation.GetField<T extends honeyroasted.almonds.SimpleName>, JExpressionInformation.Instantiation, JExpressionInformation.InstantiationReference, JExpressionInformation.Invocation, JExpressionInformation.InvocationReference<T extends honeyroasted.almonds.SimpleName>, JExpressionInformation.Lambda, JExpressionInformation.MethodInvocation<T extends honeyroasted.almonds.SimpleName>, JExpressionInformation.Multi, JExpressionInformation.SimplyTypedNested classes/interfaces inherited from interface honeyroasted.jype.system.JExpressionInformation.Instantiation
JExpressionInformation.Instantiation.Simple -
Constructor Summary
ConstructorsConstructorDescriptionSimple(JClassReference declaring, JMethodReference declaringMethod, JClassReference type, List<JExpressionInformation> parameters, List<JArgumentType> explicitTypeArguments) Creates an instance of aSimplerecord 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.Returns the value of theexplicitTypeArgumentsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theparametersrecord component.toString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface honeyroasted.jype.system.JExpressionInformation
getSimpleType, isSimplyTyped
-
Constructor Details
-
Simple
public Simple(JClassReference declaring, JMethodReference declaringMethod, JClassReference type, List<JExpressionInformation> parameters, List<JArgumentType> explicitTypeArguments) Creates an instance of aSimplerecord class.- Parameters:
declaring- the value for thedeclaringrecord componentdeclaringMethod- the value for thedeclaringMethodrecord componenttype- the value for thetyperecord componentparameters- the value for theparametersrecord componentexplicitTypeArguments- the value for theexplicitTypeArgumentsrecord component
-
-
Method Details
-
simpleName
- Specified by:
simpleNamein interfacehoneyroasted.almonds.SimpleName
-
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.- Specified by:
declaringin interfaceJExpressionInformation.Invocation- Returns:
- the value of the
declaringrecord component
-
declaringMethod
Returns the value of thedeclaringMethodrecord component.- Specified by:
declaringMethodin interfaceJExpressionInformation.Invocation- Returns:
- the value of the
declaringMethodrecord component
-
type
Returns the value of thetyperecord component.- Specified by:
typein interfaceJExpressionInformation.Instantiation- Returns:
- the value of the
typerecord component
-
parameters
Returns the value of theparametersrecord component.- Specified by:
parametersin interfaceJExpressionInformation.Invocation- Returns:
- the value of the
parametersrecord component
-
explicitTypeArguments
Returns the value of theexplicitTypeArgumentsrecord component.- Specified by:
explicitTypeArgumentsin interfaceJExpressionInformation.Invocation- Returns:
- the value of the
explicitTypeArgumentsrecord component
-