| Constructor and Description | 
|---|
ClassMap(Class<?> clazz)
Standard constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Method | 
findMethod(String name,
          Object... params)
Find a Method using the methodKey provided. 
 | 
public ClassMap(Class<?> clazz)
clazz - The class.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.
name - Method name.params - Method parameters.MethodMap.AmbiguousException - in case of duplicate methods.Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.