com.yammer.metrics.spring
Class AnnotationFilter

java.lang.Object
  extended by com.yammer.metrics.spring.AnnotationFilter
All Implemented Interfaces:
org.springframework.util.ReflectionUtils.FieldFilter, org.springframework.util.ReflectionUtils.MethodFilter

public class AnnotationFilter
extends Object
implements org.springframework.util.ReflectionUtils.MethodFilter, org.springframework.util.ReflectionUtils.FieldFilter


Constructor Summary
AnnotationFilter(Class<? extends Annotation> clazz)
           
 
Method Summary
 boolean matches(Field field)
           
 boolean matches(Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationFilter

public AnnotationFilter(Class<? extends Annotation> clazz)
Method Detail

matches

public boolean matches(Method method)
Specified by:
matches in interface org.springframework.util.ReflectionUtils.MethodFilter

matches

public boolean matches(Field field)
Specified by:
matches in interface org.springframework.util.ReflectionUtils.FieldFilter


Copyright © 2012. All Rights Reserved.