public final String component1() { return this.name; } public final int component2() { return this.age; } @NotNull public final Person copy(@NotNull String name, int age) { Intrinsics.checkParameterIsNotNull(name, "name"); return new Person(name, age); } // $FF: synthetic method // $FF: bridge method @NotNull public static Person copy$default(Person var0, String var1, int var2, int var3, Object var4) { if((var3 & 1) != 0) { var1 = var0.name; } if((var3 & 2) != 0) { var2 = var0.age; } return var0.copy(var1, var2); } public String toString() { return "Person(name=" + this.name + ", age=" + this.age + ")"; } public int hashCode() { return (this.name != null?this.name.hashCode():0) * 31 + this.age; } public boolean equals(Object var1) { if(this != var1) { if(var1 instanceof Person) { Person var2 = (Person)var1; if(Intrinsics.areEqual(this.name, var2.name) && this.age == var2.age) { return true; } } return false; } else { return true; } data class Person(var name: String, var age: Int) equals hasCode toString copy destructuring data