Class AnnotationHandler<T>

java.lang.Object
io.micrometer.common.annotation.AnnotationHandler<T>
Type Parameters:
T - type which should be enriched with KeyValue information

public class AnnotationHandler<T> extends Object
This class is able to find all methods annotated with the Micrometer annotations. All methods mean that if you have both an interface and an implementation annotated with Micrometer annotations then this class is capable of finding both of them and merging into one set of information.

This information is then used to add proper key-values to objects such as span or timer from the method arguments that are annotated with a proper annotation. Code ported from Spring Cloud Sleuth.

Since:
1.11.0