Class Invoker
java.lang.Object
org.apache.maven.shared.dependency.graph.internal.Invoker
Invokes method on objects using reflection.
-
Constructor Details
-
Invoker
private Invoker()
-
-
Method Details
-
invoke
- Throws:
DependencyGraphBuilderException
-
invoke
public static Object invoke(Class<?> objectClazz, Object object, String method) throws DependencyGraphBuilderException - Throws:
DependencyGraphBuilderException
-
invoke
public static Object invoke(Object object, String method, Class<?> clazz, Object arg) throws DependencyGraphBuilderException - Throws:
DependencyGraphBuilderException
-
invoke
public static Object invoke(Class<?> objectClazz, String staticMethod, Class<?> argClazz, Object arg) throws DependencyGraphBuilderException - Throws:
DependencyGraphBuilderException
-