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>
Add methods if the class implements
Iterable, so the iterator method and the toMulti method.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(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, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface io.smallrye.mutiny.vertx.codegen.lang.CodeWriter
genTypeNameMethods inherited from interface io.smallrye.mutiny.vertx.codegen.lang.ConditionalCodeWriter
apply
-
Constructor Details
-
IterableMethodCodeWriter
public IterableMethodCodeWriter()
-
-
Method Details
-
generate
- Specified by:
generatein interfaceCodeWriter
-
test
public boolean test(io.vertx.codegen.ClassModel model)
-