Code cleanup

This commit is contained in:
Anuken
2019-03-24 19:58:51 -04:00
parent bb9573b85a
commit 97f5bf3cc4
14 changed files with 42 additions and 28 deletions

View File

@@ -7,6 +7,18 @@ import java.lang.annotation.Target;
public class Annotations{
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
public @interface Nullable{
}
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
public @interface NonNull{
}
/** Marks a class as serializable.*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)