| java.lang.Object murlen.util.fscript.introspection.ClassMap
Method Summary | |
public Method | findMethod(String name, Object[] params) Find a Method using the methodKey
provided.
Look in the methodMap for an entry. | Class | getCachedClass() | public static Method | getPublicMethod(Method method) For a given method, retrieves its publicly accessible counterpart.
This method will look for a method with same name
and signature declared in a public superclass or implemented interface of this
method's declaring class. |
ClassMap | public ClassMap(Class clazz)(Code) | | Standard constructor
|
findMethod | public Method findMethod(String name, Object[] params) throws MethodMap.AmbiguousException(Code) | | 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.
|
getCachedClass | Class getCachedClass()(Code) | | the class object whose methods are cached by this map. |
getPublicMethod | public static Method getPublicMethod(Method method)(Code) | | For a given method, retrieves its publicly accessible counterpart.
This method will look for a method with same name
and signature declared in a public superclass or implemented interface of this
method's declaring class. This counterpart method is publicly callable.
Parameters: method - a method whose publicly callable counterpart is requested. the publicly callable counterpart method. Note that if the parametermethod is itself declared by a public class, this method is an identityfunction. |
|
|