Package: org.codehaus.groovy.ast.tools

## [Java] Class ParameterUtils

- org.codehaus.groovy.ast.tools.ParameterUtils

-     public class ParameterUtils
      extends Object

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public static boolean` | `parametersCompatible(Parameter[] source, Parameter[] target)` Checks if two parameter arrays are type-compatible.
    `` | `public static boolean` | `parametersEqual(Parameter[] a, Parameter[] b)`
    `` | `public static boolean` | `parametersEqualWithWrapperType(Parameter[] a, Parameter[] b)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Method Detail

    - #### public static boolean parametersCompatible(Parameter[] source, Parameter[] target)

      Checks if two parameter arrays are type-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

    - #### public static boolean parametersEqual(Parameter[] a, Parameter[] b)

    - #### public static boolean parametersEqualWithWrapperType(Parameter[] a, Parameter[] b)