Package org.scijava.module
Class MethodRef
- java.lang.Object
-
- org.scijava.module.MethodRef
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(Object obj, Object... args)ObjectexecuteWithResult(Object obj, Object... args)List<ValidityProblem>getProblems()Gets the list of problems encountered while initializing the object.booleanisValid()Gets whether the object is completely valid (i.e., no problems during initialization).
-
-
-
Method Detail
-
execute
public void execute(Object obj, Object... args) throws MethodCallException
- Throws:
MethodCallException
-
executeWithResult
public Object executeWithResult(Object obj, Object... args) throws MethodCallException
- Throws:
MethodCallException
-
isValid
public boolean isValid()
Description copied from interface:ValidatedGets whether the object is completely valid (i.e., no problems during initialization).
-
getProblems
public List<ValidityProblem> getProblems()
Description copied from interface:ValidatedGets the list of problems encountered while initializing the object.- Specified by:
getProblemsin interfaceValidated- Returns:
- The list of problems, or a zero-length list in the case of
Validated.isValid()returning true.
-
-