@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) @Repeatable(value=ExportMessage.Repeat.class) public @interface ExportMessage
ExportLibrary
. Exported messages
are inherited to subclasses of the enclosing class. If they are redeclared in the sub-class then
the semantics of the overridden message is replaced by the semantics of the sub-class. A class
and a method cannot be exported at the same time for a single message and enclosing class.For usage examples.
public abstract String name
public abstract Class<? extends Library> library
public abstract String limit
cached library
should be used until the library rewrites
itself to an uncached case.Specialization.limit()
,
CachedLibrary