Created
April 17, 2020 19:32
-
-
Save yenerm/3e4795f9d5b6685b96a7dc4e3de5ea15 to your computer and use it in GitHub Desktop.
Kotlin object decompiled to Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Copyright 2019 Google LLC. | |
SPDX-License-Identifier: Apache-2.0 --> | |
public final class Singleton { | |
private static int count; | |
public static final Singleton INSTANCE; | |
public final int getCount() {return count;} | |
public final void setCount(int var1) {count = var1;} | |
public final int count() { | |
int var1 = count++; | |
return var1; | |
} | |
private Singleton() {} | |
static { | |
Singleton var0 = new Singleton(); | |
INSTANCE = var0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment