Record Class ExpressionSourceWriter.CompiledMethod
java.lang.Object
java.lang.Record
io.micronaut.el.processor.writer.ExpressionSourceWriter.CompiledMethod
- Record Components:
definition- The declared expressionclassName- The name of the generated class
- Enclosing class:
ExpressionSourceWriter
public static record ExpressionSourceWriter.CompiledMethod(ELMethodExpressionDefinition definition, String className)
extends Record
A compiled method expression and the class generated for it.
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Constructor Summary
ConstructorsConstructorDescriptionCompiledMethod(ELMethodExpressionDefinition definition, String className) Creates an instance of aCompiledMethodrecord 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
-
CompiledMethod
Creates an instance of aCompiledMethodrecord 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
-