org.eclipse.xtext.util
Class PolymorphicDispatcher.MethodNameFilter
java.lang.Object
org.eclipse.xtext.util.PolymorphicDispatcher.MethodNameFilter
- All Implemented Interfaces:
- com.google.common.base.Predicate<java.lang.reflect.Method>
- Direct Known Subclasses:
- XbaseInterpreter.PrefixMethodFilter
- Enclosing class:
- PolymorphicDispatcher<RT>
public static class PolymorphicDispatcher.MethodNameFilter
- extends java.lang.Object
- implements com.google.common.base.Predicate<java.lang.reflect.Method>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.common.base.Predicate |
equals |
maxParams
protected final int maxParams
methodName
protected final java.lang.String methodName
minParams
protected final int minParams
PolymorphicDispatcher.MethodNameFilter
public PolymorphicDispatcher.MethodNameFilter(java.lang.String methodName,
int minParams,
int maxParams)
apply
public boolean apply(java.lang.reflect.Method param)
- Specified by:
apply
in interface com.google.common.base.Predicate<java.lang.reflect.Method>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getMaxParams
public int getMaxParams()
getMinParams
public int getMinParams()