public static class PolymorphicDispatcher.MethodNameFilter
extends java.lang.Object
implements com.google.common.base.Predicate<java.lang.reflect.Method>
Modifier and Type | Field and Description |
---|---|
protected int |
maxParams |
protected java.lang.String |
methodName |
protected int |
minParams |
Constructor and Description |
---|
PolymorphicDispatcher.MethodNameFilter(java.lang.String methodName,
int minParams,
int maxParams) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(java.lang.reflect.Method param) |
int |
getMaxParams() |
int |
getMinParams() |
java.lang.String |
toString() |
protected final int maxParams
protected final java.lang.String methodName
protected final int minParams
public PolymorphicDispatcher.MethodNameFilter(java.lang.String methodName, int minParams, int maxParams)
public boolean apply(java.lang.reflect.Method param)
apply
in interface com.google.common.base.Predicate<java.lang.reflect.Method>
public java.lang.String toString()
toString
in class java.lang.Object
public int getMaxParams()
public int getMinParams()