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

Removes method parameter protection analysis #622

Merged
merged 2 commits into from Jul 11, 2022

Conversation

nimakarimipour
Copy link
Contributor

This PR removes the method parameter protection feature from NullAway. This feature enables us to make NullAway to assume all method parameters at given index are @Nullable while processing the method bodies. However, this feature is not used by the other tool (Annotator) which had the first motivation toward implementing this feature.

In previous versions of Annotator, processing of method parameters was performed in a different manner compared to all other code locations and was using this specific feature. However, in every version upper that 1.3.0-LOCAL this feature is not used anymore.

After this PR the following entity will be removed from the config .xml file:

<paramTest "active": boolean, "index": i> 

@msridhar msridhar changed the title Removes method parameter protection anaylsis. Removes method parameter protection analysis Jul 10, 2022
Copy link
Collaborator

@msridhar msridhar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 LGTM, but I will let @lazaroclapp do the merge in case I missed some issue

Copy link
Collaborator

@lazaroclapp lazaroclapp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

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.

None yet

3 participants