@Retention(value=RUNTIME) @Target(value={TYPE_USE,TYPE_PARAMETER}) @SubtypeOf(value={}) @DefaultQualifierInHierarchy public @interface CalledMethods
@CalledMethods({"m1", "m2"})
, then methods m1
and
m2
have definitely been called on its value. Other methods might or might not have been
called. "Been called" is defined as having been invoked: a method has "been called" even if it
might never return or might throw an exception.
The subtyping relationship is:
@CalledMethods({"m1", "m2", "m3"}) <: @CalledMethods({"m1", "m2"})
public abstract String[] value