/* * Geotoolkit.org - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2011-2012, Open Source Geospatial Foundation (OSGeo) * (C) 2011-2012, Geomatys * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotoolkit.lang; import java.lang.annotation.Target; import java.lang.annotation.Retention; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.RetentionPolicy; /** * Annotates classes or methods that are provided mostly for debugging purpose. This annotation * is defined in order to make easier to find which debugging tools are available in case of * problem. See the "Use" javadoc link for a list of annotated classes and methods. * * {@section <code>toString()</code> policy} * Note that many {@link Object#toString()} methods are overridden for debugging purpose. * This {@code Debug} annotation does not apply to those {@code toString()} method, because * they are too numerous and their policy usage can change at any time. * * @author Martin Desruisseaux (Geomatys) * @version 3.19 * * @since 3.19 * @module */ @Documented @Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD}) @Retention(RetentionPolicy.SOURCE) public @interface Debug { }