rmannibucau commented on code in PR #128: URL: https://github.com/apache/openwebbeans/pull/128#discussion_r2081575758
########## webbeans-impl/src/main/java/org/apache/webbeans/proxy/InterceptorDecoratorProxyFactory.java: ########## @@ -613,5 +615,55 @@ else if (methodIndex < 32267) mv.visitEnd(); } + public static class AnnotationTypeKey<T> + { + private final AnnotatedType<T> annotatedType; + + + public AnnotationTypeKey(final AnnotatedType<T> annotatedType) + { + Asserts.assertNotNull(annotatedType, "annotatedType"); + this.annotatedType = annotatedType; Review Comment: i'd cache (=precompute in the constructor) the hashcode as in beancachekey since it is hash structure oriented -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@openwebbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org