Class HashCodeAndEqualsMethodsCodeWriter
java.lang.Object
io.smallrye.mutiny.vertx.codegen.lang.HashCodeAndEqualsMethodsCodeWriter
- All Implemented Interfaces:
CodeWriter,ConditionalCodeWriter,BiFunction<io.vertx.codegen.ClassModel,,PrintWriter, Void> Predicate<io.vertx.codegen.ClassModel>
Add the equals and hashCode methods.
-
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
-
HashCodeAndEqualsMethodsCodeWriter
public HashCodeAndEqualsMethodsCodeWriter()
-
-
Method Details
-
generate
- Specified by:
generatein interfaceCodeWriter
-
test
public boolean test(io.vertx.codegen.ClassModel model)
-