1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| public class Object { private static native void registerNatives();
@HotSpotIntrinsicCandidate public Object() { }
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
@HotSpotIntrinsicCandidate public native int hashCode();
public boolean equals(Object obj) { return this == obj; } public String toString() { return this.getClass().getName() + "@" + Integer.toHexString(this.hashCode()); }
@HotSpotIntrinsicCandidate public final native void notify();
@HotSpotIntrinsicCandidate public final native void notifyAll(); }
|