Package io.micronaut.inject.annotation
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>
An EvaluatedAnnotationValue is a
AnnotationValue
that contains one or more expressions.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionwithArguments
(@Nullable Object thisObject, Object[] args) Provide a copy of this annotation metadata with passed method arguments.Methods inherited from class io.micronaut.core.annotation.AnnotationValue
annotationClassValue, annotationClassValues, booleanValue, booleanValue, booleanValues, builder, builder, builder, builder, builder, byteValue, byteValues, charValue, charValues, classValue, classValue, classValue, classValue, classValues, contains, doubleValue, doubleValue, doubleValue, doubleValues, enumValue, enumValue, enumValues, equals, floatValue, floatValue, floatValues, get, getAnnotation, getAnnotation, getAnnotationName, getAnnotations, getAnnotations, getConvertibleValues, getDefaultValues, getMemberNames, getProperties, getProperties, getRequiredValue, getRequiredValue, getRetentionPolicy, getStereotypes, getValue, getValue, getValue, getValueMapper, getValues, hasEvaluatedExpressions, hashCode, intValue, intValue, intValue, intValues, isFalse, isFalse, isPresent, isTrue, isTrue, isTrue, longValue, longValue, longValues, mutate, resolveClassValues, resolveEnumValues, resolveStringArray, resolveStringValues, shortValue, shortValue, shortValues, stringValue, stringValue, stringValue, stringValues, stringValues, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.micronaut.core.annotation.AnnotationValueResolver
booleanValue, booleanValues, byteValue, byteValues, charValue, charValues, classValues, doubleValues, enumValue, enumValues, enumValuesSet, floatValue, floatValues, intValues, longValue, longValues, shortValue, shortValues, stringValues
Methods inherited from interface io.micronaut.core.value.ValueResolver
get, get, get
-
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
-