mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-28 02:48:14 -05:00
Update #0 - First Release
This commit is contained in:
30
sources/main/java/javax/annotation/meta/Exclusive.java
Normal file
30
sources/main/java/javax/annotation/meta/Exclusive.java
Normal file
@ -0,0 +1,30 @@
|
||||
package javax.annotation.meta;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
/**
|
||||
* This annotation can be applied to the value() element of an annotation that
|
||||
* is annotated as a TypeQualifier.
|
||||
*
|
||||
* <p>
|
||||
* For example, the following defines a type qualifier such that if you know a
|
||||
* value is {@literal @Foo(1)}, then the value cannot be {@literal @Foo(2)} or
|
||||
* {{@literal @Foo(3)}.
|
||||
*
|
||||
* <pre>
|
||||
* @TypeQualifier
|
||||
* @interface Foo {
|
||||
* @Exclusive
|
||||
* int value();
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface Exclusive {
|
||||
|
||||
}
|
Reference in New Issue
Block a user