Skip to content

Instantly share code, notes, and snippets.

@laramartin
Created September 14, 2018 16:35
Show Gist options
  • Save laramartin/49522d81523d6a62c6078887b4203f8f to your computer and use it in GitHub Desktop.
Save laramartin/49522d81523d6a62c6078887b4203f8f to your computer and use it in GitHub Desktop.
// GamerConciseSyntax.java
import [...]
public final class GamerConciseSyntax {
@NotNull
private final String username;
@NotNull
public final String getUsername() {
return this.username;
}
public GamerConciseSyntax(@NotNull String username) {
Intrinsics.checkParameterIsNotNull(username, "username");
super();
this.username = username;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment