org.apache.maven.shared.utils.introspection
Class ClassMap
java.lang.Object
org.apache.maven.shared.utils.introspection.ClassMap
public class ClassMap
- extends Object
A cache of introspection information for a specific class instance.
Keys Method
objects by a concatenation of the
method name and the names of classes that make up the parameters.
- Version:
- $Id: ClassMap.html 955072 2015-06-16 23:06:34Z tibordigana $
- Author:
- Jason van Zyl, Bob McWhirter, Attila Szegedi, Geir Magnusson Jr.
Constructor Summary |
ClassMap(Class<?> clazz)
Standard constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassMap
public ClassMap(Class<?> clazz)
- Standard constructor
findMethod
public Method findMethod(String name,
Object... params)
throws org.apache.maven.shared.utils.introspection.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.
- Throws:
org.apache.maven.shared.utils.introspection.MethodMap.AmbiguousException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.