Package io.micronaut.expressions
Class EvaluatedExpressionWriter
java.lang.Object
io.micronaut.expressions.EvaluatedExpressionWriter
- All Implemented Interfaces:
ClassOutputWriter
Writer for compile-time expressions.
- Since:
- 4.0.0
- Author:
- Sergey Gavrilov
-
Constructor Summary
ConstructorDescriptionEvaluatedExpressionWriter
(ExpressionWithContext expressionMetadata, VisitorContext visitorContext, Element originatingElement) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ClassWriterOutputVisitor outputVisitor) Accept a ClassWriterOutputVisitor to write this writer to disk.
-
Constructor Details
-
EvaluatedExpressionWriter
public EvaluatedExpressionWriter(ExpressionWithContext expressionMetadata, VisitorContext visitorContext, Element originatingElement)
-
-
Method Details
-
accept
Description copied from interface:ClassOutputWriter
Accept a ClassWriterOutputVisitor to write this writer to disk.- Specified by:
accept
in interfaceClassOutputWriter
- Parameters:
outputVisitor
- TheClassWriterOutputVisitor
- Throws:
IOException
- if there is an error writing to disk
-