[x] Make sure you are requesting to pull a feature/bugfix branch (right
side). Don't request your master!
[x] Make sure you are making a pull request against the main branch (left
side).
[x] Check the commit's or even all commits' message styles matches our
requested structure.
[x] Check your code additions will fail neither code linting checks nor unit
test.
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.
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 renameCanonicalName
toFullName
. Same could be done forSimpleName
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!