Module java.base

Class ObjectMethods

java.lang.Object
java.lang.runtime.ObjectMethods

public class ObjectMethods extends Object
Bootstrap methods for state-driven implementations of core methods, including Object.equals(Object), Object.hashCode(), and Object.toString(). These methods may be used, for example, by Java compiler implementations to implement the bodies of Object methods for record classes.
Since:
16