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

Auto generated accessor methods for Kotlin Boolean properties starting with is are prepended with get #2310

Closed
sojanpr-branch opened this issue Jan 14, 2022 · 2 comments · Fixed by #2356
Labels
bug format: Javadoc An issue/PR related to Dokka's Javadoc output format or the Javadoc comments in general

Comments

@sojanpr-branch
Copy link

Describe the bug
Kotllin is intelligent to create accessor methods for boolean properties with name isXYZ as isXYZ().
For e.g. the accessor or val isCheked: Boolean is isChecked(). Dokka generated JavaDoc adds accessor method prepended with get. In this example getIsChecked()

Expected behaviour
Auto generated accessor methods for Boolean properties starting name with is should not prepend with get

@IgnatBeresnev IgnatBeresnev added the format: Javadoc An issue/PR related to Dokka's Javadoc output format or the Javadoc comments in general label Jan 14, 2022
@sojanpr-branch
Copy link
Author

Hi Dokka team, appreciate any help or updates with this issue. Any way around that you can suggest?

@IgnatBeresnev
Copy link
Member

IgnatBeresnev commented Jan 20, 2022

Hi! Thanks for the report!

Unfortunately, javadoc format is still in alpha and we don't work on it much, so not sure when we're gonna get to it, I can't promise anything. I don't see any quick and easy workarounds either :(

If you'd like to contribute, here's where the bug is (tested):

Duplicate issue: #2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug format: Javadoc An issue/PR related to Dokka's Javadoc output format or the Javadoc comments in general
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants