]> source.dussan.org Git - aspectj.git/commit
Improve code and documentation for #366085 fix
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Wed, 28 Dec 2022 10:54:28 +0000 (11:54 +0100)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Wed, 28 Dec 2022 12:14:14 +0000 (19:14 +0700)
commit39b6f35570dcdfbe2ececcf0624bba43538eeddb
tree5fe2f2803fe74dc5fb5af8c46f6f3ccc2f915685
parenta1ce3d6bb52093cfc3de3756a420526b78e7c132
Improve code and documentation for #366085 fix

This commit is a follow-up for 65f1ec72. The SOURCE retention case is
documented now and considered in a few more call sites. The
previously already similar code structures in
  - DeclareAnnotation.ensureAnnotationDiscovered,
  - DeclareAnnotation.getAnnotationType
have both been streamlined and still remain logically in sync.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/DeclareAnnotation.java