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

Convert method to async should help to change Jetbrain annotations accordingly #36

Open
halex2005 opened this issue Jul 24, 2018 · 0 comments

Comments

@halex2005
Copy link

halex2005 commented Jul 24, 2018

Hi! Thanks for great plugin!

Note that NotNull attribute should be changed to ItemNotNull, and CanBeNull attribute should be changed to ItemCanBeNull.

Before conversion:

[NotNull]
public object MethodName() {
    ...
}
[CanBeNull]
public object MethodName() {
    ...
}

Expected output:

[ItemNotNull]
public Task<object> MethodNameAsync() {
    ...
}
[ItemCanBeNull]
public Task<object> MethodNameAsync() {
    ...
}

For now, attributes are keept unchanged.

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

No branches or pull requests

1 participant