[Java] Class ParameterUtils
- org.codehaus.groovy.ast.tools.ParameterUtils
public class ParameterUtils extends Object
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
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
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 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)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/ast/tools/ParameterUtils.html