mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #0 - First Release
This commit is contained in:
22
sources/main/java/javax/annotation/CheckForSigned.java
Normal file
22
sources/main/java/javax/annotation/CheckForSigned.java
Normal file
@ -0,0 +1,22 @@
|
||||
package javax.annotation;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
import javax.annotation.meta.TypeQualifierNickname;
|
||||
import javax.annotation.meta.When;
|
||||
|
||||
/**
|
||||
* Used to annotate a value that may be either negative or nonnegative, and
|
||||
* indicates that uses of it should check for negative values before using it in
|
||||
* a way that requires the value to be nonnegative, and check for it being
|
||||
* nonnegative before using it in a way that requires it to be negative.
|
||||
*/
|
||||
@Documented
|
||||
@TypeQualifierNickname
|
||||
@Nonnegative(when = When.MAYBE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface CheckForSigned {
|
||||
|
||||
}
|
Reference in New Issue
Block a user