Type Params | Return Type | Name and description |
---|---|---|
|
static boolean |
parametersCompatible(Parameter[] source, Parameter[] target) Checks if two parameter arrays are type-compatible. |
|
static boolean |
parametersEqual(Parameter[] a, Parameter[] b) |
|
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