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 8c53086 commit 17cd615Copy full SHA for 17cd615
vavr/generator/Generator.scala
@@ -948,10 +948,17 @@ def generateMainClasses(): Unit = {
948
case 2 => BiFunctionType
949
case _ => s"Function$i"
950
}
951
+
952
+ val parameterDoc = (if (monadicTypesThatNeedParameter.contains(mtype)) {
953
+ s"\n* @param <L> The left-hand type of all {@link $mtype}s"
954
+ } else { "" })
955
+ val typeDocs = (1 to i).gen(j => s"* @param <T$j> component type of {@link $mtype} number $j\n")
956
val args = (1 to i).gen(j => s"? super T$j")(", ")
957
xs"""
958
/$javadoc
959
* For-comprehension with ${i.numerus(mtype)}.
960
+ $parameterDoc
961
+ $typeDocs
962
*/
963
public static class $forClassName<$generics> {
964
0 commit comments