001    /**
002     * $Id: ForceThreadSafeCollection.java,v 1.1 2010/01/05 13:26:17 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 07.10.2008 by oliver (ob@oasd.de)
019     */
020    package patterntesting.annotation.concurrent;
021    
022    import java.lang.annotation.*;
023    
024    
025    /**
026     * With this annotation you can mark classes and methods which sould use
027     * thread-safe collection classes (i.e. sychnronized collections) only.
028     *
029     * @author <a href="boehm@javatux.de">oliver</a>
030     * @since 07.10.2008
031     * @version $Revision: 1.1 $
032     */
033    @Retention(RetentionPolicy.RUNTIME)
034    @Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE})
035    public @interface ForceThreadSafeCollection {
036    
037    }
038    
039    /**
040     * $Log: ForceThreadSafeCollection.java,v $
041     * Revision 1.1  2010/01/05 13:26:17  oboehm
042     * begin with 1.0
043     *
044     * Revision 1.2  2009/12/19 22:34:08  oboehm
045     * trailing spaces removed
046     *
047     * Revision 1.1  2009/03/23 21:12:07  oboehm
048     * annotation moved to patterntesting.annotation.concurrent
049     *
050     * $Source: /cvsroot/patterntesting/PatternTesting10/patterntesting-rt/src/main/java/patterntesting/annotation/concurrent/ForceThreadSafeCollection.java,v $
051     */