@Retention(value=SOURCE)
@Target(value={TYPE,FIELD,METHOD,CONSTRUCTOR})
public @interface RequiresFeature
enforcement()
attribute.Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
enforcement
Defines the name of the method that should be called to check whether the feature is
available, using the same signature format as javadoc.
|
java.lang.String |
name
The name of the feature that is required.
|
public abstract java.lang.String enforcement