Class AutoJavadoc<T extends HasJavadoc<?>>

  • Type Parameters:
    T - The extending type
    All Implemented Interfaces:
    Consumer<T>

    public final class AutoJavadoc<T extends HasJavadoc<?>>
    extends Object
    implements Consumer<T>
    This control generates javadoc stubs for all models descending from the one applied to.
    Author:
    Emil Forslund
    • Constructor Detail

      • AutoJavadoc

        public AutoJavadoc()
    • Method Detail

      • accept

        public void accept​(T model)
        Parses the specified model recursively to find all models that implements the HasJavadoc trait but that does not have proper documentation and generates javadoc stubs for those models.
        Specified by:
        accept in interface Consumer<T extends HasJavadoc<?>>
        Parameters:
        model - the model to parse