id property

Object id
final

Const objects all share the same canonicalization, meaning instantiation of the same class with the same arguments will be the same instance. Therefore, if you need multiple const versions, an id is needed.

Implementation

final Object id;