package aQute.bnd.annotation;

import java.lang.annotation.*;

@Retention(RetentionPolicy.CLASS)
@Target(ElementType.PACKAGE)
public @interface Export {
	String	MANDATORY	= "mandatory";
	String	OPTIONAL	= "optional";
	String	USES		= "uses";
	String	EXCLUDE		= "exclude";
	String	INCLUDE		= "include";

	String[] mandatory() default "";

	String[] optional() default "";

	Class< ? >[] exclude() default Object.class;

	Class< ? >[] include() default Object.class;

	/**
	 * Use {@link @Version} annotation instead
	 * 
	 * @return
	 */
	@Deprecated()
	String version() default "";

}

package aQute.bnd.annotation;

import java.lang.annotation.*;

@Retention(RetentionPolicy.CLASS)
@Target(ElementType.PACKAGE)
public @interface Export {
	String	MANDATORY	= "mandatory";
	String	OPTIONAL	= "optional";
	String	USES		= "uses";
	String	EXCLUDE		= "exclude";
	String	INCLUDE		= "include";

	String[] mandatory() default "";

	String[] optional() default "";

	Class< ? >[] exclude() default Object.class;

	Class< ? >[] include() default Object.class;
}

remove deprecated version from Export interface