Class EvaluatedAnnotationValue<A extends Annotation>

java.lang.Object
io.micronaut.core.annotation.AnnotationValue<A>
io.micronaut.inject.annotation.EvaluatedAnnotationValue<A>
Type Parameters:
A - The annotation
All Implemented Interfaces:
AnnotationValueResolver, ValueResolver<CharSequence>

public final class EvaluatedAnnotationValue<A extends Annotation> extends AnnotationValue<A>
An EvaluatedAnnotationValue is a AnnotationValue that contains one or more expressions.
Since:
4.0.0
  • Method Details

    • withArguments

      public EvaluatedAnnotationValue<A> withArguments(@Nullable @Nullable Object thisObject, Object[] args)
      Provide a copy of this annotation metadata with passed method arguments.
      Parameters:
      thisObject - The object that represents this in a non-static context.
      args - arguments passed to method
      Returns:
      copy of annotation metadata