/*==========================================================================*\ | $Id: FilterFromStackTraces.java,v 1.1 2011/03/07 14:05:04 stedwar2 Exp $ |*-------------------------------------------------------------------------*| | Copyright (C) 2006-2011 Virginia Tech | | This file is part of the Student-Library. | | The Student-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; either version 3 of the | License, or (at your option) any later version. | | The Student-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. | | You should have received a copy of the GNU Lesser General Public License | along with the Student-Library; if not, see <http://www.gnu.org/licenses/>. \*==========================================================================*/ package student.testingsupport.annotations; import java.lang.annotation.*; //------------------------------------------------------------------------- /** * An annotation used to list package prefixes for Java packages and/or * classes that should be filtered from generated stack traces in hint * messages. * * @author Stephen Edwards * @author Last changed by $Author: stedwar2 $ * @version $Revision: 1.1 $, $Date: 2011/03/07 14:05:04 $ */ @Documented @Inherited @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE}) public @interface FilterFromStackTraces { /** * A list of one or more package prefixes. Any stack frame in a stack * trace that starts with this prefix will be filtered from the trace. */ String[] value(); }