Package org.checkerframework.checker.interning.qual
package org.checkerframework.checker.interning.qual
-
ClassDescriptionMethod declaration annotation that indicates a method has a specification like
compareTo()
orcompare()
.Method declaration annotation that indicates a method has a specification likeequals()
.This formal parameter annotation indicates that the method searches for the given value, using reference equality (==
).Indicates that a variable has been interned, i.e., that the variable refers to the canonical representation of an object.Indicates that no other value isequals()
to the given value.Method declaration annotation used to indicate that this method may be invoked on an uninterned object and that it returns an interned object.A polymorphic qualifier for the Interning type system.The top qualifier for the Interning Checker.Class declaration to indicate the class does not overrideequals(Object)
, and thereforea.equals(b)
anda == b
behave identically.