public class ClassMap
extends java.lang.Object
Method objects by
a concatenation of the method name and the names of classes that make up the parameters.| Constructor | Description |
|---|---|
ClassMap(java.lang.Class clazz) |
Standard constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.reflect.Method |
findMethod(java.lang.String name,
java.lang.Object[] params) |
Find a Method using the methodKey provided.
|
static java.lang.reflect.Method |
getPublicMethod(java.lang.reflect.Method method) |
For a given method, retrieves its publicly accessible counterpart.
|
public java.lang.reflect.Method findMethod(java.lang.String name,
java.lang.Object[] params)
throws MethodMap.AmbiguousException
Find a Method using the methodKey provided.
Look in the methodMap for an entry. If found, it'll either be a CACHE_MISS, in which case we simply give up, or it'll be a Method, in which case, we return it.
If nothing is found, then we must actually go and introspect the method from the MethodMap.
MethodMap.AmbiguousExceptionpublic static java.lang.reflect.Method getPublicMethod(java.lang.reflect.Method method)
method - a method whose publicly callable counterpart is requested.