We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea5afe3 commit 050ab77Copy full SHA for 050ab77
vavr/generator/Generator.scala
@@ -803,10 +803,17 @@ def generateMainClasses(): Unit = {
803
case 2 => BiFunctionType
804
case _ => s"Function$i"
805
}
806
+
807
+ val parameterDoc = (if (monadicTypesThatNeedParameter.contains(mtype)) {
808
+ s"\n* @param <L> The left-hand type of all {@link $mtype}s"
809
+ } else { "" })
810
+ val typeDocs = (1 to i).gen(j => s"* @param <T$j> component type of {@link $mtype} number $j\n")
811
val args = (1 to i).gen(j => s"? super T$j")(", ")
812
xs"""
813
/$javadoc
814
* For-comprehension with ${i.numerus(mtype)}.
815
+ $parameterDoc
816
+ $typeDocs
817
*/
818
public static class $forClassName<$generics> {
819
0 commit comments