@Documented @Retention(value=CLASS) @Target(value={TYPE,PACKAGE}) public @interface Referenced
A reference can cause the package of a specified type to be imported if the bundle does not contain the package.
This annotation is not retained at runtime. It is for use by tools to generate bundle manifests.
public abstract Class<?>[] value
Specifying a class in this annotation must be treated by tools as if the annotated type has a code reference to the class which may result in an import of the package of the class if the bundle does not contain that package.
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0