Class ParameterUtils


  • public class ParameterUtils
    extends Object
    • Constructor Detail

      • ParameterUtils

        public ParameterUtils()
    • Method Detail

      • parametersEqual

        public static boolean parametersEqual​(Parameter[] a,
                                              Parameter[] b)
      • parametersEqualWithWrapperType

        public static boolean parametersEqualWithWrapperType​(Parameter[] a,
                                                             Parameter[] b)
      • parametersCompatible

        public static boolean parametersCompatible​(Parameter[] source,
                                                   Parameter[] target)
        check whether parameters type are compatible each parameter should match the following condition: targetParameter.getType().getTypeClass().isAssignableFrom(sourceParameter.getType().getTypeClass())
        Parameters:
        source - source parameters
        target - target parameters
        Returns:
        the check result
        Since:
        3.0.0