MCPcopy Create free account
hub / github.com/HumbleUI/JWM / toString

Method toString

shared/java/impl/RefCounted.java:18–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 public native int getRefCount();
17
18 @Override
19 public String toString() {
20 String s = super.toString();
21 try {
22 return s.substring(0, s.length() - 1) + ", refCount=" + getRefCount() + ")";
23 } catch (Throwable t) {
24 return s;
25 }
26 }
27
28 @ApiStatus.Internal
29 public static class _FinalizerHolder {

Callers

nothing calls this directly

Calls 1

getRefCountMethod · 0.95

Tested by

no test coverage detected