public final class MethodInjector extends Object
| Modifier and Type | Method and Description |
|---|---|
Method |
getMethod() |
<T> T |
invoke(Object instance,
Object... injectorArgs)
Invoke injector with the given instance
|
public <T> T invoke(Object instance, Object... injectorArgs) throws Throwable
T - type of return valueinstance - the instance to useinjectorArgs - arguments for injectorThrowable - if anything happen in the evaluated methodpublic Method getMethod()
Copyright © 2021. All rights reserved.