Slide 40
Slide 40 text
Classes public final class Person {
@NotNull
private final String firstName;
@NotNull
private String lastName;
@NotNull
public final String getFirstName() {
return this.firstName;
}
@NotNull
public final String getLastName() {
return this.lastName;
}
public final void setLastName(@NotNull String var1) {
Intrinsics.checkParameterIsNotNull(var1, "");
this.lastName = var1;
}
public Person(@NotNull String fName, @NotNull String lName) {
Intrinsics.checkParameterIsNotNull(fName, "fName");
Intrinsics.checkParameterIsNotNull(lName, "lName");
super();
this.firstName = fName;
this.lastName = lName;
}
}