Skip to content

Instantly share code, notes, and snippets.

@florina-muntenescu
Last active January 21, 2020 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save florina-muntenescu/2a9d07edbe8fc701bfcb32143bf2a090 to your computer and use it in GitHub Desktop.
Save florina-muntenescu/2a9d07edbe8fc701bfcb32143bf2a090 to your computer and use it in GitHub Desktop.
Inline classes
/* Copyright 2019 Google LLC.
SPDX-License-Identifier: Apache-2.0 */
public final class DoggoId implements Id {
// $FF: synthetic method
private DoggoId(long id) {
this.id = id;
}
public static long constructor_impl/* $FF was: constructor-impl*/(long id) {
return id;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment