summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/util
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/com/wireguard/util')
-rw-r--r--app/src/main/java/com/wireguard/util/NonNullForAll.java26
1 files changed, 0 insertions, 26 deletions
diff --git a/app/src/main/java/com/wireguard/util/NonNullForAll.java b/app/src/main/java/com/wireguard/util/NonNullForAll.java
deleted file mode 100644
index f179fa49..00000000
--- a/app/src/main/java/com/wireguard/util/NonNullForAll.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright © 2017-2019 WireGuard LLC. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0
- */
-
-package com.wireguard.util;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-
-import javax.annotation.Nonnull;
-import javax.annotation.meta.TypeQualifierDefault;
-
-/**
- * This annotation can be applied to a package, class or method to indicate that all
- * class fields and method parameters and return values in that element are nonnull
- * by default unless overridden.
- */
-@Documented
-@Nonnull
-@TypeQualifierDefault({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
-@Retention(RetentionPolicy.RUNTIME)
-public @interface NonNullForAll {
-}