public interface MethodFilter
When creating a new proxy using ClassProxy
, you may specify a MethodFilter to select which methods should be overridden and which not.
Modifier and Type | Method and Description |
---|---|
boolean |
filterMethod(Method method)
Returns a boolean indicating whether or not to filter a
Method . |
boolean filterMethod(Method method)
Returns a boolean indicating whether or not to filter a Method
.
In use with ClassProxy
, a return value of true
means to override the method in question, a false
means to keep the method of the super class.
method
- The method which needs to be checked.true
if the method should be filtered (if it matches), false
otherwise.Copyright © 2013. All Rights Reserved.