Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treat annotations on inner classes as if on outer #278

Merged

Conversation

illicitonion
Copy link
Collaborator

This was the behaviour before 8c5954b, and is a behaviour we want to preserve (at least until we have a way of expressing desires more explicitly here).

Concretely, this means that things like
-java-annotation-to-attribute=com.example.annotation.FlakyTest=flaky=True will allow inner annotated classes to affect the generation of targets, rather than ignoring their annotations.

This was the behaviour before 8c5954b,
and is a behaviour we want to preserve (at least until we have a way of
expressing desires more explicitly here).

Concretely, this means that things like
`-java-annotation-to-attribute=com.example.annotation.FlakyTest=flaky=True`
will allow inner annotated classes to affect the generation of targets,
rather than ignoring their annotations.
@illicitonion illicitonion merged commit 0bef82e into bazel-contrib:main Jun 5, 2024
8 checks passed
@illicitonion illicitonion deleted the annotations-on-inner-classes branch June 5, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants