Java: Fix performance with future optimiser by caching a predicate

This commit is contained in:
alexet
2021-08-25 14:48:09 +01:00
parent be1d4c04f2
commit 81f4822b8d

View File

@@ -110,6 +110,7 @@ class Annotatable extends Element {
}
/** Gets an annotation that applies to this element. */
cached
Annotation getAnAnnotation() { result.getAnnotatedElement() = this }
/**