org.apache.hivemind.methodmatch
Class NameSuffixFilter

java.lang.Object
  extended by org.apache.hivemind.methodmatch.MethodFilter
      extended by org.apache.hivemind.methodmatch.NameSuffixFilter

public class NameSuffixFilter
extends MethodFilter

Used to match a method name against a suffix.

Author:
Howard Lewis Ship

Constructor Summary
NameSuffixFilter(java.lang.String nameSuffix)
           
 
Method Summary
 boolean matchMethod(MethodSignature sig)
          Analyzes the method (its name, its parameters, etc.) and returns true if the method matches the filter defined by a subclass.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameSuffixFilter

public NameSuffixFilter(java.lang.String nameSuffix)
Method Detail

matchMethod

public boolean matchMethod(MethodSignature sig)
Description copied from class: MethodFilter
Analyzes the method (its name, its parameters, etc.) and returns true if the method matches the filter defined by a subclass. Returns false otherwise.

Specified by:
matchMethod in class MethodFilter