org.codehaus.enunciate.Facets Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enunciate-core-annotations
Show all versions of enunciate-core-annotations
Enunciate core annotations.
package org.codehaus.enunciate;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Used to apply a set of facets to an API component.
*
* @author Ryan Heaton
*/
@Target (
{ ElementType.PARAMETER, ElementType.FIELD, ElementType.METHOD ,ElementType.TYPE, ElementType.PACKAGE, ElementType.ANNOTATION_TYPE }
)
@Retention (
RetentionPolicy.RUNTIME
)
public @interface Facets {
/**
* The applicable facets.
*
* @return The applicable facets.
*/
Facet[] value();
}