Class FunctionalParameters


  • public final class FunctionalParameters
    extends Object
    • Method Detail

      • findFunctionalMethodTypes

        public static List<FunctionalMethodType> findFunctionalMethodTypes​(Type functionalType)
        Returns a list of FunctionalMethodTypes 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 as ItemIO.OUTPUT and the all method parameters as ItemIO.OUTPUT, except for parameters annotated with Container or Mutable which will be marked as ItemIO.CONTAINER or ItemIO.MUTABLE respectively. If the specified type does not have a functional method in its hierarchy, null will be returned.
        The order will be the following: method parameters from left to right, then return type.
        Parameters:
        functionalType -
        Returns:
      • hasNullableAnnotations

        public static Boolean hasNullableAnnotations​(Method m)
      • findParameterNullability

        public static Boolean[] findParameterNullability​(Method m)
      • fMethodsWithNullable

        public static List<Method> fMethodsWithNullable​(Class<?> opClass)
      • generateAllRequiredArray

        public static Boolean[] generateAllRequiredArray​(int num)