jfun.yan.util
Interface MethodPredicate


public interface MethodPredicate

A predicate used to filter methods.

Author:
Ben Yu Nov 14, 2005 10:43:59 PM

Method Summary
 boolean isMethod(java.lang.reflect.Method mtd)
          Apply the predicate against a Method.
 java.lang.String toString()
          Get the name of the predicate.
 

Method Detail

isMethod

boolean isMethod(java.lang.reflect.Method mtd)
Apply the predicate against a Method.

Parameters:
mtd - the Method object.
Returns:
whether this Method satisfies the requirement.

toString

java.lang.String toString()
Get the name of the predicate. This is useful in error message when ambiguity happens.

Overrides:
toString in class java.lang.Object