ParameterUtils (Groovy 4.0.15)

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` | `isVargs(Parameter[] parameters)` Since: 4.0.4
    `` | `public static boolean` | `parametersCompatible(Parameter[] source, Parameter[] target)` Checks compatibility of parameter arrays.
    `` | `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 isVargs(Parameter[] parameters)

      Since:
        4.0.4

    - #### 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

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

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