Class ConsumerMethodCodeWriter
java.lang.Object
io.smallrye.mutiny.vertx.codegen.lang.ConsumerMethodCodeWriter
- All Implemented Interfaces:
CodeWriter,ConditionalCodeWriter,BiFunction<io.vertx.codegen.ClassModel,,PrintWriter, Void> Predicate<io.vertx.codegen.ClassModel>
If the class implements
Handler<X>, we added Consumer<X> and so we need to implement that method.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(io.vertx.codegen.ClassModel model, PrintWriter writer) booleantest(io.vertx.codegen.ClassModel classModel) 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
-
ConsumerMethodCodeWriter
public ConsumerMethodCodeWriter()
-
-
Method Details
-
generate
- Specified by:
generatein interfaceCodeWriter
-
test
public boolean test(io.vertx.codegen.ClassModel classModel)
-