Skip to content

Instantly share code, notes, and snippets.

@vgonda
Created April 17, 2017 19:45
Show Gist options
  • Save vgonda/51848c0b859668f73a66d7884ed9d184 to your computer and use it in GitHub Desktop.
Save vgonda/51848c0b859668f73a66d7884ed9d184 to your computer and use it in GitHub Desktop.
Decompiled Kotlin User Class
public final class User {
@NotNull
private final String firstName;
@Nullable
private String lastName;
public User(@NotNull String firstName, @Nullable String lastName) {
Intrinsics.checkParameterIsNotNull(firstName, "firstName");
super();
this.firstName = firstName;
this.lastName = lastName;
}
@NotNull
public final String getFirstName() {
return this.firstName;
}
@Nullable
public final String getLastName() {
return this.lastName;
}
public final void setLastName(@Nullable String var1) {
this.lastName = var1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment