Class ParameterUtils

java.lang.Object
org.codehaus.groovy.ast.tools.ParameterUtils

public class ParameterUtils
extends java.lang.Object
  • Constructor Details

    • ParameterUtils

      public ParameterUtils()
  • Method Details

    • 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)
      Checks compatibility of parameter arrays. Each parameter should match the following condition: sourceType.isAssignableTo(targetType)
      Since:
      3.0.0