We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50aceaf + fb755f5 commit 9548703Copy full SHA for 9548703
micrometer-commons/src/main/java/io/micrometer/common/annotation/ValueExpressionResolver.java
@@ -16,6 +16,7 @@
16
package io.micrometer.common.annotation;
17
18
import io.micrometer.common.KeyValue;
19
+import io.micrometer.common.lang.Nullable;
20
21
/**
22
* Resolves the {@link KeyValue} value for the given parameter and the provided
@@ -33,6 +34,7 @@ public interface ValueExpressionResolver {
33
34
* @param parameter parameter annotated with a {@link KeyValue} related annotation
35
* @return the value of the {@link KeyValue}
36
*/
- String resolve(String expression, Object parameter);
37
+ @Nullable
38
+ String resolve(String expression, @Nullable Object parameter);
39
40
}
0 commit comments