Record Class JExpressionInformation.SimplyTyped.Simple
java.lang.Object
java.lang.Record
honeyroasted.jype.system.JExpressionInformation.SimplyTyped.Simple
- All Implemented Interfaces:
honeyroasted.almonds.SimpleName,JExpressionInformation,JExpressionInformation.SimplyTyped
- Enclosing interface:
JExpressionInformation.SimplyTyped
public static record JExpressionInformation.SimplyTyped.Simple(JType type)
extends Record
implements JExpressionInformation.SimplyTyped
-
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.SimplyTyped
JExpressionInformation.SimplyTyped.Simple -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.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.type(JTypeSystem system) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface honeyroasted.jype.system.JExpressionInformation.SimplyTyped
getSimpleType, isSimplyTyped
-
Constructor Details
-
Simple
Creates an instance of aSimplerecord class.- Parameters:
type- the value for thetyperecord component
-
-
Method Details
-
type
- Specified by:
typein interfaceJExpressionInformation.SimplyTyped
-
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.- Returns:
- the value of the
typerecord component
-