info.magnolia.i18nsystem.proxytoys
Class ReturnsAnnotatedTypeArgument

java.lang.Object
  extended by info.magnolia.i18nsystem.proxytoys.ReturnsAnnotatedTypeArgument
All Implemented Interfaces:
com.google.common.base.Predicate<Method>

public class ReturnsAnnotatedTypeArgument
extends Object
implements com.google.common.base.Predicate<Method>

A Predicate which matches methods which are "getter"s where the return value's type is annotated with the given annotation.


Constructor Summary
ReturnsAnnotatedTypeArgument(Class<? extends Annotation> annotation)
           
 
Method Summary
 boolean apply(Method method)
           
 
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

ReturnsAnnotatedTypeArgument

public ReturnsAnnotatedTypeArgument(Class<? extends Annotation> annotation)
Method Detail

apply

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


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.