Record Class ExpressionSourceWriter.CompiledValue
java.lang.Object
java.lang.Record
io.micronaut.el.processor.writer.ExpressionSourceWriter.CompiledValue
- Enclosing class:
ExpressionSourceWriter
public static record ExpressionSourceWriter.CompiledValue(ELExpressionDefinition definition, String className)
extends Record
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Constructor Summary
ConstructorsConstructorDescriptionCompiledValue(ELExpressionDefinition definition, String className) Creates an instance of aCompiledValuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.Returns the value of thedefinitionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompiledValue
Creates an instance of aCompiledValuerecord class.- Parameters:
definition- the value for thedefinitionrecord componentclassName- the value for theclassNamerecord 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). -
definition
Returns the value of thedefinitionrecord component.- Returns:
- the value of the
definitionrecord component
-
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-