org.carrot2.util.attribute
Class AttributeBinder.AllAnnotationsPresentPredicate

java.lang.Object
  extended by org.carrot2.util.attribute.AttributeBinder.AllAnnotationsPresentPredicate
All Implemented Interfaces:
com.google.common.base.Predicate<Field>
Enclosing class:
AttributeBinder

public static class AttributeBinder.AllAnnotationsPresentPredicate
extends Object
implements com.google.common.base.Predicate<Field>

A predicate that evaluates to true if the attribute is annotated with all of the provided annotations.


Constructor Summary
AttributeBinder.AllAnnotationsPresentPredicate(Class<? extends Annotation>... filteringAnnotations)
           
 
Method Summary
 boolean apply(Field field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Predicate
equals
 

Constructor Detail

AttributeBinder.AllAnnotationsPresentPredicate

public AttributeBinder.AllAnnotationsPresentPredicate(Class<? extends Annotation>... filteringAnnotations)
Method Detail

apply

public boolean apply(Field field)
Specified by:
apply in interface com.google.common.base.Predicate<Field>


Copyright (c) Dawid Weiss, Stanislaw Osinski