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

JavadocVariable: new property 'accessModifiers' as substitution of 'scope' and 'excludeScope' #9280

Open
romani opened this issue Feb 15, 2021 · 7 comments · May be fixed by #16049
Open

JavadocVariable: new property 'accessModifiers' as substitution of 'scope' and 'excludeScope' #9280

romani opened this issue Feb 15, 2021 · 7 comments · May be fixed by #16049

Comments

@romani
Copy link
Member

romani commented Feb 15, 2021

JavadocVariable - https://checkstyle.org/config_javadoc.html#JavadocVariable
https://checkstyle.org/checks/javadoc/javadocvariable.html#JavadocVariable

Example of user confusion and problem with such type - #3183

have have issues with Scope enumeration
we should switch to AccessModifier here like we did for ParameterNameCheck.
New property need t be created as substitution to 2 old properties.
https://checkstyle.org/property_types.html#AccessModifierOption.5B.5D
https://checkstyle.org/config_naming.html#ParameterName_Properties

TODO: after completion close #3183

local classes (named classes in methods or any other blocks) and antonymous classes should be skipped by Check for validation, see details at #13749

@romani romani changed the title JavadocVariable: ugrate properties 'scope' and 'excludeScope' to use AccessModifierOption type instead of Scope JavadocVariable: upgrade property 'scope' to use AccessModifierOption type instead of Scope; remove property 'excludeScope' Feb 15, 2021
@romani romani changed the title JavadocVariable: upgrade property 'scope' to use AccessModifierOption type instead of Scope; remove property 'excludeScope' JavadocVariable: new property 'accessModifiers' as substitution of 'scope' and 'excludeScope' Feb 15, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Feb 15, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Feb 15, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Apr 25, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Apr 30, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Apr 30, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue May 19, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue May 19, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Jun 24, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Jul 17, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Jul 30, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Aug 1, 2021
github-actions bot pushed a commit to martin-mfg/checkstyle that referenced this issue Aug 1, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Aug 8, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Aug 9, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Aug 9, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Aug 13, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Aug 16, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Aug 16, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Aug 16, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Sep 5, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Sep 5, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Sep 5, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Sep 6, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Sep 6, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Sep 6, 2021
martin-mfg added a commit to martin-mfg/checkstyle that referenced this issue Oct 12, 2021
@ShivamPandey00
Copy link
Contributor

I am on it

@romani
Copy link
Member Author

romani commented Mar 26, 2023

@coderdeadpool, this might be very complicated for you, please do second and third gsoc labeled issues first.

@AayushSaini101
Copy link
Contributor

@romani Can i take this

@romani
Copy link
Member Author

romani commented Nov 17, 2023

Any approved issue can to taken. Yes.

@romani
Copy link
Member Author

romani commented Nov 17, 2023

@AayushSaini101 , please finish PRs that you already started or close them https://github.com/checkstyle/checkstyle/pulls/aayushRedHat

@nrmancuso
Copy link
Member

We have a two year old PR open for this issue already: #9277

@romani
Copy link
Member Author

romani commented Dec 2, 2023

we recently run into edge case with scope property but for another Check - #13749 , and I am not sure how accessModifiersOption is going to handle it.
We need sombody to think on how inner class in method scope can be separated by accessModifiersOption

kkoutsilis added a commit to kkoutsilis/checkstyle that referenced this issue Dec 24, 2024
… of 'scope' and 'excludeScope' in JavadocVariableCheck
kkoutsilis added a commit to kkoutsilis/checkstyle that referenced this issue Dec 24, 2024
… of 'scope' and 'excludeScope' in JavadocVariableCheck
kkoutsilis added a commit to kkoutsilis/checkstyle that referenced this issue Dec 27, 2024
… of 'scope' and 'excludeScope' in JavadocVariableCheck
kkoutsilis added a commit to kkoutsilis/checkstyle that referenced this issue Dec 28, 2024
… of 'scope' and 'excludeScope' in JavadocVariableCheck
kkoutsilis added a commit to kkoutsilis/checkstyle that referenced this issue Dec 28, 2024
… of 'scope' and 'excludeScope' in JavadocVariableCheck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants