Package org.panda_lang.utilities.inject
Class DefaultMethodInjector
java.lang.Object
org.panda_lang.utilities.inject.DefaultMethodInjector
- All Implemented Interfaces:
MethodInjector
-
Method Summary
-
Method Details
-
invoke
Invoke injector with the given instance- Specified by:
invokein interfaceMethodInjector- Type Parameters:
T- type of return value- Parameters:
instance- the instance to useinjectorArgs- arguments for injector- Returns:
- returned value
- Throws:
Exception- if anything happens in the evaluated method
-
getMethod
- Specified by:
getMethodin interfaceMethodInjector
-