@Documented @Retention(value=RUNTIME) @Target(value={TYPE_USE,TYPE_PARAMETER}) @SubtypeOf(value=Interned.class) @DefaultFor(value=LOWER_BOUND) public @interface InternedDistinct
equals()
to the given value. Therefore, it is correct to
use == to test an InternedDistinct value for equality against any other value.
This is a stronger property than Interned
, but a weaker property than every value of a
Java type being interned.
InterningChecker