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

Allow single-line annotations in parameters/arguments #642

Merged
merged 1 commit into from
Nov 17, 2019

Conversation

romtsn
Copy link
Collaborator

@romtsn romtsn commented Nov 11, 2019

Resolve #556 and #608.

As I mentioned in the issue in the official styleguide there's nothing about single-line annotations on method/constructor parameters. Also extended it a little, to allow the same thing in arguments' annotations (e.g. when you have a @Retention(SOURCE) @Target(EXPRESSION) for the annotation class)

@Tapchicoma
Copy link
Collaborator

Yes, I see it is a valid code style. Thank your for contribution 👍

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.

AnnotationRule formatting uncertainties
2 participants