Record Class JExpressionInformation.InstantiationReference.Simple
java.lang.Object
java.lang.Record
honeyroasted.jype.system.JExpressionInformation.InstantiationReference.Simple
- All Implemented Interfaces:
honeyroasted.almonds.SimpleName,JExpressionInformation,JExpressionInformation.InstantiationReference
- Enclosing interface:
JExpressionInformation.InstantiationReference
public static record JExpressionInformation.InstantiationReference.Simple(JInstantiableType type, List<JArgumentType> explicitTypeArguments)
extends Record
implements JExpressionInformation.InstantiationReference
-
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.InstantiationReference
JExpressionInformation.InstantiationReference.Simple -
Constructor Summary
ConstructorsConstructorDescriptionSimple(JInstantiableType type, List<JArgumentType> explicitTypeArguments) Creates an instance of aSimplerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.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
Creates an instance of aSimplerecord class.- Parameters:
type- the value for thetyperecord 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). -
type
Returns the value of thetyperecord component.- Specified by:
typein interfaceJExpressionInformation.InstantiationReference- Returns:
- the value of the
typerecord component
-
explicitTypeArguments
Returns the value of theexplicitTypeArgumentsrecord component.- Specified by:
explicitTypeArgumentsin interfaceJExpressionInformation.InstantiationReference- Returns:
- the value of the
explicitTypeArgumentsrecord component
-