Module com.speedment.common.codegen
Class AutoJavadoc<T extends HasJavadoc<?>>
- java.lang.Object
-
- com.speedment.common.codegen.controller.AutoJavadoc<T>
-
- 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 Summary
Constructors Constructor Description AutoJavadoc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(T model)Parses the specified model recursively to find all models that implements theHasJavadoctrait but that does not have proper documentation and generates javadoc stubs for those models.
-
-
-
Method Detail
-
accept
public void accept(T model)
Parses the specified model recursively to find all models that implements theHasJavadoctrait but that does not have proper documentation and generates javadoc stubs for those models.- Specified by:
acceptin interfaceConsumer<T extends HasJavadoc<?>>- Parameters:
model- the model to parse
-
-