Coverage Report - org.mule.util.scan.annotations.AnnotationFilter
 
Classes in this File Line Coverage Branch Coverage Complexity
AnnotationFilter
N/A
N/A
1
 
 1  
 /*
 2  
  * $Id: AnnotationFilter.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 package org.mule.util.scan.annotations;
 11  
 
 12  
 /**
 13  
  * A filter is used when performing an Annotation scan on a single class or the classpath.
 14  
  * An Annotation filter is used to filter throw annotations on a class (including fields, methods and parameters) to determine
 15  
  * whether the annotion should be accepted
 16  
  */
 17  
 public interface AnnotationFilter
 18  
 {
 19  
     /**
 20  
      * Should the annotation represented by an {@link AnnotationInfo} object be
 21  
      * accepted
 22  
      * 
 23  
      * @param info the annotation information to select on
 24  
      * @return true if the annotation matches the criteria for this filter
 25  
      */
 26  
     boolean accept(AnnotationInfo info);
 27  
 }