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.
|
public ClassMap(java.lang.Class<?> clazz)
clazz
- The class.public java.lang.reflect.Method findMethod(java.lang.String name, java.lang.Object... params) throws org.apache.maven.shared.utils.introspection.MethodMap.AmbiguousException
name
- Method name.params
- Method parameters.org.apache.maven.shared.utils.introspection.MethodMap.AmbiguousException
- in case of duplicate methods.Copyright © 2018. All rights reserved.