JDT supports three kinds of annotations, and the ASTVisitor lets them be encountered in two different scopes. This patch ensures that all six cases are handled, and adds a test that uses each of the six cases - removing any one of the visit implementations will fail the test by incorrectly reporting the annotation as not having sources available.
JDT supports three kinds of annotations, and the ASTVisitor lets them be encountered in two different scopes. This patch ensures that all six cases are handled, and adds a test that uses each of the six cases - removing any one of the
visit
implementations will fail the test by incorrectly reporting the annotation as not having sources available.Fixes #10020