- java.lang.Object
-
- org.scijava.ops.engine.struct.FunctionalParameters
-
public final class FunctionalParameters extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<FunctionalMethodType>findFunctionalMethodTypes(Type functionalType)Returns a list ofFunctionalMethodTypes describing the input and output types of the functional method of the specified functional type.static Boolean[]findParameterNullability(Method m)static List<Method>fMethodsWithNullable(Class<?> opClass)static Boolean[]generateAllRequiredArray(int num)static BooleanhasNullableAnnotations(Method m)static voidparseFunctionalParameters(ArrayList<SynthesizedParameterMember<?>> items, Type type, ParameterData data)
-
-
-
Method Detail
-
parseFunctionalParameters
public static void parseFunctionalParameters(ArrayList<SynthesizedParameterMember<?>> items, Type type, ParameterData data)
-
findFunctionalMethodTypes
public static List<FunctionalMethodType> findFunctionalMethodTypes(Type functionalType)
Returns a list ofFunctionalMethodTypes describing the input and output types of the functional method of the specified functional type. In doing so, the return type of the method will me marked asItemIO.OUTPUTand the all method parameters asItemIO.OUTPUT, except for parameters annotated withContainerorMutablewhich will be marked asItemIO.CONTAINERorItemIO.MUTABLErespectively. If the specified type does not have a functional method in its hierarchy,nullwill be returned.
The order will be the following: method parameters from left to right, then return type.- Parameters:
functionalType-- Returns:
-
generateAllRequiredArray
public static Boolean[] generateAllRequiredArray(int num)
-
-