Record Class CBGenericSerializerMethodRefViaLambda
java.lang.Object
java.lang.Record
com.io7m.cedarbridge.codegen.javastatic.internal.generics.CBGenericSerializerMethodRefViaLambda
- Record Components:
type- The typelambdaType- The type of the lambda expressionlambdaReturnType- The type of values serialized by the expressionlambdaName- The name of the variable to which the lambda expression is assignedlambdaContextName- The name of the context variable inside the lambda expressionlambdaValueName- The name of the value inside the lambda expressionlambdaTarget- The type targeted by the lambda expressionlambdaTargetRefs- The method references present inside the lambda
- All Implemented Interfaces:
CBGenericSerializerMethodRefType
public record CBGenericSerializerMethodRefViaLambda(CBTypeExpressionType.CBTypeExprApplicationType type, com.io7m.jodist.TypeName lambdaType, com.io7m.jodist.TypeName lambdaReturnType, String lambdaName, String lambdaContextName, String lambdaValueName, CBTypeExpressionType.CBTypeExprNamedType lambdaTarget, List<CBGenericSerializerMethodRefType> lambdaTargetRefs)
extends Record
implements CBGenericSerializerMethodRefType
A reference to a serialize method that is enclosed inside a lambda
expression.
-
Constructor Summary
ConstructorsConstructorDescriptionCBGenericSerializerMethodRefViaLambda(CBTypeExpressionType.CBTypeExprApplicationType type, com.io7m.jodist.TypeName lambdaType, com.io7m.jodist.TypeName lambdaReturnType, String lambdaName, String lambdaContextName, String lambdaValueName, CBTypeExpressionType.CBTypeExprNamedType lambdaTarget, List<CBGenericSerializerMethodRefType> lambdaTargetRefs) Creates an instance of aCBGenericSerializerMethodRefViaLambdarecord class. -
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.Returns the value of thelambdaContextNamerecord component.Returns the value of thelambdaNamerecord component.com.io7m.jodist.TypeNameReturns the value of thelambdaReturnTyperecord component.Returns the value of thelambdaTargetrecord component.Returns the value of thelambdaTargetRefsrecord component.com.io7m.jodist.TypeNameReturns the value of thelambdaTyperecord component.Returns the value of thelambdaValueNamerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
CBGenericSerializerMethodRefViaLambda
public CBGenericSerializerMethodRefViaLambda(CBTypeExpressionType.CBTypeExprApplicationType type, com.io7m.jodist.TypeName lambdaType, com.io7m.jodist.TypeName lambdaReturnType, String lambdaName, String lambdaContextName, String lambdaValueName, CBTypeExpressionType.CBTypeExprNamedType lambdaTarget, List<CBGenericSerializerMethodRefType> lambdaTargetRefs) Creates an instance of aCBGenericSerializerMethodRefViaLambdarecord class.- Parameters:
type- the value for thetyperecord componentlambdaType- the value for thelambdaTyperecord componentlambdaReturnType- the value for thelambdaReturnTyperecord componentlambdaName- the value for thelambdaNamerecord componentlambdaContextName- the value for thelambdaContextNamerecord componentlambdaValueName- the value for thelambdaValueNamerecord componentlambdaTarget- the value for thelambdaTargetrecord componentlambdaTargetRefs- the value for thelambdaTargetRefsrecord component
-
-
Method Details
-
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
-
lambdaType
public com.io7m.jodist.TypeName lambdaType()Returns the value of thelambdaTyperecord component.- Returns:
- the value of the
lambdaTyperecord component
-
lambdaReturnType
public com.io7m.jodist.TypeName lambdaReturnType()Returns the value of thelambdaReturnTyperecord component.- Returns:
- the value of the
lambdaReturnTyperecord component
-
lambdaName
Returns the value of thelambdaNamerecord component.- Returns:
- the value of the
lambdaNamerecord component
-
lambdaContextName
Returns the value of thelambdaContextNamerecord component.- Returns:
- the value of the
lambdaContextNamerecord component
-
lambdaValueName
Returns the value of thelambdaValueNamerecord component.- Returns:
- the value of the
lambdaValueNamerecord component
-
lambdaTarget
Returns the value of thelambdaTargetrecord component.- Returns:
- the value of the
lambdaTargetrecord component
-
lambdaTargetRefs
Returns the value of thelambdaTargetRefsrecord component.- Returns:
- the value of the
lambdaTargetRefsrecord component
-