001    /*
002     * Copyright 2009-2015 UnboundID Corp.
003     * All Rights Reserved.
004     */
005    /*
006     * Copyright (C) 2009-2015 UnboundID Corp.
007     *
008     * This program is free software; you can redistribute it and/or modify
009     * it under the terms of the GNU General Public License (GPLv2 only)
010     * or the terms of the GNU Lesser General Public License (LGPLv2.1 only)
011     * as published by the Free Software Foundation.
012     *
013     * This program is distributed in the hope that it will be useful,
014     * but WITHOUT ANY WARRANTY; without even the implied warranty of
015     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
016     * GNU General Public License for more details.
017     *
018     * You should have received a copy of the GNU General Public License
019     * along with this program; if not, see <http://www.gnu.org/licenses>.
020     */
021    package com.unboundid.util;
022    
023    
024    
025    import java.lang.annotation.Documented;
026    import java.lang.annotation.ElementType;
027    import java.lang.annotation.Retention;
028    import java.lang.annotation.RetentionPolicy;
029    import java.lang.annotation.Target;
030    
031    
032    
033    /**
034     * This annotation type is used to indicate that a non-final class or interface
035     * is NOT intended to be extended or implemented by third-party code.  In order
036     * to be completely safe, third-party code should only extend or implement code
037     * marked with the {@code @Extensible} annotation type, but the
038     * {@code @NotExtensible} annotation type can serve as a reminder for classes
039     * or interfaces that are not intended to be extended or implemented by
040     * third-party code.
041     * <BR><BR>
042     * This annotation type will appear in the generated Javadoc documentation for
043     * classes and interfaces that include it.
044     *
045     * @see  Extensible
046     */
047    @Documented()
048    @Retention(RetentionPolicy.RUNTIME)
049    @Target({ ElementType.TYPE })
050    public @interface NotExtensible
051    {
052    }