Record Class JExpressionInformation.Lambda.Simple
java.lang.Object
java.lang.Record
honeyroasted.jype.system.JExpressionInformation.Lambda.Simple
- All Implemented Interfaces:
honeyroasted.almonds.SimpleName,JExpressionInformation,JExpressionInformation.Lambda
- Enclosing interface:
JExpressionInformation.Lambda
public static record JExpressionInformation.Lambda.Simple(JExpressionInformation body, List<JArgumentType> explicitParameterTypes, int parameterCount, boolean implicitReturn)
extends Record
implements JExpressionInformation.Lambda
-
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.Lambda
JExpressionInformation.Lambda.Simple -
Constructor Summary
ConstructorsConstructorDescriptionSimple(JExpressionInformation body, List<JArgumentType> explicitParameterTypes, int parameterCount, boolean implicitReturn) Creates an instance of aSimplerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbody()Returns the value of thebodyrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexplicitParameterTypesrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theimplicitReturnrecord component.intReturns the value of theparameterCountrecord component.toString()Returns a string representation of this record class.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(JExpressionInformation body, List<JArgumentType> explicitParameterTypes, int parameterCount, boolean implicitReturn) Creates an instance of aSimplerecord class.- Parameters:
body- the value for thebodyrecord componentexplicitParameterTypes- the value for theexplicitParameterTypesrecord componentparameterCount- the value for theparameterCountrecord componentimplicitReturn- the value for theimplicitReturnrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
body
Returns the value of thebodyrecord component.- Specified by:
bodyin interfaceJExpressionInformation.Lambda- Returns:
- the value of the
bodyrecord component
-
explicitParameterTypes
Returns the value of theexplicitParameterTypesrecord component.- Specified by:
explicitParameterTypesin interfaceJExpressionInformation.Lambda- Returns:
- the value of the
explicitParameterTypesrecord component
-
parameterCount
public int parameterCount()Returns the value of theparameterCountrecord component.- Specified by:
parameterCountin interfaceJExpressionInformation.Lambda- Returns:
- the value of the
parameterCountrecord component
-
implicitReturn
public boolean implicitReturn()Returns the value of theimplicitReturnrecord component.- Specified by:
implicitReturnin interfaceJExpressionInformation.Lambda- Returns:
- the value of the
implicitReturnrecord component
-