public class ParameterUtils extends Object
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) |
Checks if two parameter arrays are type-compatible.
each parameter should match the following condition:
targetParameter.getType().getTypeClass().isAssignableFrom(sourceParameter.getType().getTypeClass())
source
- source parameterstarget
- target parameters