001    /**
002     * $Id: NullArgsAllowed.java,v 1.1 2010/01/05 13:26:18 oboehm Exp $
003     *
004     * Copyright (c) 2008 by Oliver Boehm
005     *
006     * Licensed under the Apache License, Version 2.0 (the "License");
007     * you may not use this file except in compliance with the License.
008     * You may obtain a copy of the License at
009     *
010     *   http://www.apache.org/licenses/LICENSE-2.0
011     *
012     * Unless required by applicable law or agreed to in writing, software
013     * distributed under the License is distributed on an "AS IS" BASIS,
014     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express orimplied.
015     * See the License for the specific language governing permissions and
016     * limitations under the License.
017     *
018     * (c)reated 24.04.2008 by oliver (ob@oasd.de)
019     */
020    package patterntesting.annotation.check.runtime;
021    
022    import java.lang.annotation.*;
023    
024    /**
025     * Use this annotation to mark methods which are allowed to have null values
026     * as argument.
027     * <br/>
028     * The {@link "patterntesting.java.runtime.AbstractNullPointerTrap"} will
029     * watch this precondition.
030     *
031     * @author <a href="boehm@javatux.de">oliver</a>
032     * @since 24.04.2008
033     * @version $Revision: 1.1 $
034     */
035    @Documented
036    @Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE})
037    @Retention(RetentionPolicy.RUNTIME)
038    public @interface NullArgsAllowed {
039    
040    }
041    
042    /**
043     * $Log: NullArgsAllowed.java,v $
044     * Revision 1.1  2010/01/05 13:26:18  oboehm
045     * begin with 1.0
046     *
047     * Revision 1.3  2009/12/19 22:34:09  oboehm
048     * trailing spaces removed
049     *
050     * Revision 1.2  2009/09/18 13:54:53  oboehm
051     * javadoc warnings fixed
052     *
053     * Revision 1.1  2009/03/24 21:00:42  oboehm
054     * moved to patterntesting.annotation.check.runtime
055     *
056     * $Source: /cvsroot/patterntesting/PatternTesting10/patterntesting-rt/src/main/java/patterntesting/annotation/check/runtime/NullArgsAllowed.java,v $
057     */