Guest User

Untitled

a guest
Dec 16th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. @NotNull
  2. private static String notNull = "Hello";
  3. @Nullable
  4. private static String maybeNull = "Hello";
  5.  
  6. @NotNull
  7. public static final String getNotNull() {
  8. return notNull;
  9. }
  10.  
  11. public static final void setNotNull(@NotNull String var0) {
  12. Intrinsics.checkParameterIsNotNull(var0, "<set-?>");
  13. notNull = var0;
  14. }
  15.  
  16. @JvmName(
  17. name = "getNullableProperty"
  18. )
  19. @Nullable
  20. public static final String getNullableProperty() {
  21. return maybeNull;
  22. }
  23.  
  24. @JvmName(
  25. name = "setNullableProperty"
  26. )
  27. public static final void setNullableProperty(@Nullable String var0) {
  28. maybeNull = var0;
  29. }
Add Comment
Please, Sign In to add comment