Candy-Doc / candy-doc-maven-plugin

GNU General Public License v3.0
29 stars 5 forks source link

:sparkles: feat: deal with inner and anonymous classes #188

Closed ecattez closed 1 year ago

ecattez commented 1 year ago

Pull request for Candy-doc

Your checklist for this pull request

🚨 Please review the guidelines for contributing to this repository.

Description

Relying on this link, canonical name, such as simple name, does not work with anonymous classes.

The idea is to use the Class#getName() method only to find the full object name and its simple one. In order to remove Java language dependency from domain models, we can rename CanonicalName to FullName. Same could be done for SimpleName but I don't want to break the output contract for now.

By using the Class#getName() method we also provide a way to handle inner classes and anonymous classes in a convenient way for now.

❤️ Thank you!

Tifloz commented 1 year ago

:tada: This PR is included in version 2.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: