public class LookupOverride extends MethodOverride
Methods eligible for lookup override must not have arguments.
| Constructor and Description |
|---|
LookupOverride(String methodName,
String beanName)
Construct a new LookupOverride.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getBeanName()
Return the name of the bean that should be returned by this method.
|
int |
hashCode() |
boolean |
matches(Method method)
Match method of the given name, with no parameters.
|
String |
toString() |
getMethodName, getSource, isOverloaded, setOverloaded, setSourcepublic String getBeanName()
public boolean matches(Method method)
matches in class MethodOverridemethod - the method to checkpublic boolean equals(Object other)
equals in class MethodOverridepublic int hashCode()
hashCode in class MethodOverride