Class IterableMethodCodeWriter
- java.lang.Object
-
- io.smallrye.mutiny.vertx.codegen.lang.IterableMethodCodeWriter
-
- All Implemented Interfaces:
CodeWriter,ConditionalCodeWriter,BiFunction<io.vertx.codegen.ClassModel,PrintWriter,Void>,Predicate<io.vertx.codegen.ClassModel>
public class IterableMethodCodeWriter extends Object implements ConditionalCodeWriter
Add methods if the class implementsIterable, so theiteratormethod and thetoMultimethod.
-
-
Constructor Summary
Constructors Constructor Description IterableMethodCodeWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerate(io.vertx.codegen.ClassModel model, PrintWriter writer)booleantest(io.vertx.codegen.ClassModel model)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
Methods inherited from interface io.smallrye.mutiny.vertx.codegen.lang.CodeWriter
genTypeName
-
Methods inherited from interface io.smallrye.mutiny.vertx.codegen.lang.ConditionalCodeWriter
apply
-
-
-
-
Method Detail
-
generate
public void generate(io.vertx.codegen.ClassModel model, PrintWriter writer)- Specified by:
generatein interfaceCodeWriter
-
-