private DefaultMethodMetadata(M methodReference, AnnotatedMethodReader<M> annotationReader) { this.javaMethod = annotationReader.getJavaMethod(methodReference); for (InterceptionType interceptionType: InterceptionTypeRegistry.getSupportedInterceptionTypes()) { if (annotationReader.getAnnotation(InterceptionTypeRegistry.getAnnotationClass(interceptionType), methodReference) != null) { supportedInterceptorTypes.add(interceptionType); } } }