Skip to content

Instantly share code, notes, and snippets.

@s1monw1
Created September 20, 2022 22:45
Show Gist options
  • Save s1monw1/53e05dbebb1d5d95c14d285fbc20d187 to your computer and use it in GitHub Desktop.
Save s1monw1/53e05dbebb1d5d95c14d285fbc20d187 to your computer and use it in GitHub Desktop.
public final class WrappedInt {
private final int value;
public final int getValue() { return this.value; }
// $FF: synthetic method
private WrappedInt(int value) { this.value = value; }
public static int constructor_impl(int value) { return value; }
// $FF: synthetic method
@NotNull
public static final WrappedInt box_impl(int v) { return new WrappedInt(v); }
// $FF: synthetic method
public final int unbox_impl() { return this.value; }
//more Object related implementations
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment