-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Support for all Token Types as a Property Type for Module Metadata #8802
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
items:
<td>all tokens | ||
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html"> | ||
allTokenTypes</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html">all tokens</a>
allTokenTypes
we can keep only in metadata and javadoc.
@@ -16,6 +16,9 @@ | |||
about language structures. | |||
</p></description> | |||
<properties> | |||
<property default-value="" name="tokens" type="allTokenTypes"> | |||
<description>All checkstyle token types.</description> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be a description of property, not a description of type.
please use tokens to check
} | ||
final String typeName = typeNode.getTextContent().trim(); | ||
final String typeName = | ||
getCorrectNodeBasedOnPropertyType(property).getTextContent().trim(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please try to move refactoring to separate commit of the same PR
#8801