Package io.micronaut.inject.writer
Class EvaluatedExpressionProcessor
java.lang.Object
io.micronaut.inject.writer.EvaluatedExpressionProcessor
Internal utility class for writing annotation metadata with evaluated expressions.
-
Constructor Summary
ConstructorDescriptionEvaluatedExpressionProcessor
(VisitorContext visitorContext, Element originatingElement) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
processEvaluatedExpressions
(AnnotationMetadata annotationMetadata, @Nullable ClassElement thisElement) Process evaluated expression contained within annotation metadata.void
processEvaluatedExpressions
(MethodElement methodElement) static void
reset()
Reset after processing.void
-
Constructor Details
-
EvaluatedExpressionProcessor
Default constructor.- Parameters:
visitorContext
- The visitor contextoriginatingElement
- The originating element
-
-
Method Details
-
reset
public static void reset()Reset after processing. -
processEvaluatedExpressions
public void processEvaluatedExpressions(AnnotationMetadata annotationMetadata, @Nullable @Nullable ClassElement thisElement) Process evaluated expression contained within annotation metadata.- Parameters:
annotationMetadata
- The annotation metadatathisElement
- If the expressino is evaluated in a non-static context, this type representsthis
-
processEvaluatedExpressions
-
getEvaluatedExpressions
-
writeEvaluatedExpressions
- Throws:
IOException
-
hasEvaluatedExpressions
public boolean hasEvaluatedExpressions()
-