metrics-spring icon indicating copy to clipboard operation
metrics-spring copied to clipboard

Support for meta-annotations #163

Open einachim opened this issue 9 years ago • 0 comments

This is a good starting point for enabling meta annotations. There are 2 tests (CovariantReturnTypeTest + MeteredInterfaceTest) that will break because annotations at interface level will now be taken into consideration. I think this should be the correct behaviour because the codahale annotations are marked with Inherited.

I added a test (MetaAnnotationTest). The Counted annotation has no support for element type ANNOTATION_TYPE. So there is no test for that case. I do not understand why the annotation from codahale is not used in the CountedMethodInterceptor. Why does your Counted annotation exist?

einachim avatar Jan 25 '16 18:01 einachim