org.mule.util.scan.annotations
Class AnnotationTypeFilter
java.lang.Object
org.mule.util.scan.annotations.AnnotationTypeFilter
- All Implemented Interfaces:
- AnnotationFilter
public class AnnotationTypeFilter
- extends Object
- implements AnnotationFilter
Simply filters for annotations that match the annotation class
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationTypeFilter
public AnnotationTypeFilter(Class<? extends Annotation> annotation)
accept
public boolean accept(AnnotationInfo info)
- Description copied from interface:
AnnotationFilter
- Should the annotation represented by an
AnnotationInfo
object be
accepted
- Specified by:
accept
in interface AnnotationFilter
- Parameters:
info
- the annotation information to select on
- Returns:
- true if the annotation matches the criteria for this filter
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.