@@ -0,0 +1,1725 @@
+/*%0A * FindBugs - Find Bugs in Java programs%0A * Copyright (C) 2005, University of Maryland%0A * %0A * This library is free software; you can redistribute it and/or%0A * modify it under the terms of the GNU Lesser General Public%0A * License as published by the Free Software Foundation; either%0A * version 2.1 of the License, or (at your option) any later version.%0A * %0A * This library is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU%0A * Lesser General Public License for more details.%0A * %0A * You should have received a copy of the GNU Lesser General Public%0A * License along with this library; if not, write to the Free Software%0A * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA%0A */%0A%0Apackage edu.umd.cs.findbugs.annotations;%0A%0Aimport java.lang.annotation.Annotation;%0Aimport java.lang.annotation.ElementType;%0Aimport java.lang.annotation.Retention;%0Aimport java.lang.annotation.RetentionPolicy;%0Aimport java.lang.annotation.Target;%0A%0A/**%0A * Indicates that all members of the class or package should be%0A * annotated with the default value of the supplied annotation class.%0A * %0A * This would be used for behavior annotations such as @NonNull, @CheckForNull,%0A * or @CheckReturnValue.%0A * %0A * In particular, you can use @DefaultAnnotation(NonNull.class) on a class or package,%0A * and then use @Nullable only on those parameters, methods or fields that you want%0A * to allow to be null.%0A *%0A * @author William Pugh%0A */%0A%0A%0A@Target(%7BElementType.TYPE, ElementType.PACKAGE%7D)%0A@Retention(RetentionPolicy.CLASS)%0A%0Apublic @interface DefaultAnnotation %7B%0A%09Class%3C? extends Annotation%3E%5B%5D value();%0A%7D%0A%0A

Allow an default annotation to be applied to a class or package