-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Currently, the generator adds comments to interfaces and classes that implement interfaces.
As explained in Oracle's official documentation (https://docs.oracle.com/en/java/javase/17/docs/specs/javadoc/doc-comment-spec.html):
Comment inheritance occurs in all possible cases of inheritance from classes and interfaces:
- When a method in a class overrides a method in a superclass
- When a method in an interface overrides a method in a superinterface
- When a method in a class implements a method in an interface
So there is no need to add Javadoc documentation to the methods of an implementation class, since it already inherits the documentation present on the interface, which is the same documentation.
We keep the Javadoc on the class itself since there is no inheritance possible.
This change should reduce the size of the generated Java files and speed up the generation process.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels