![JAR search and dependency download from the Maven repository](/logo.png)
templates.kotlin.equals.mustache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json-kotlin-schema-codegen Show documentation
Show all versions of json-kotlin-schema-codegen Show documentation
Code generation from JSON Schema to Kotlin or Java
{{&indent}} override fun equals(other: Any?): Boolean = this === other || other is {{&className}}{{#hasBaseClassWithProperties}} &&
{{&indent}} super.equals(other){{/hasBaseClassWithProperties}}{{#nonBaseProperties}} &&
{{! TODO check if property is array (do we ever use array?) and if so emit "contentEquals"
}}{{&indent}} {{&kotlinName}} == other.{{&kotlinName}}{{/nonBaseProperties}}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy