Merge ArgumentsMatchInfo into ArgumentsMatchKind in SpEL
The internal ArgumentsMatchInfo type seems to have once had additional
methods beyond the functionality provided by the ArgumentsMatchKind
enum; however, that is no longer the case. Consequently, there is no
need to maintain both types.
This commit therefore merges the convenience methods from
ArgumentsMatchInfo into the ArgumentsMatchKind enum and removes the
unnecessary ArgumentsMatchInfo type.
@ -75,7 +76,7 @@ public class ReflectiveConstructorResolver implements ConstructorResolver {
@@ -75,7 +76,7 @@ public class ReflectiveConstructorResolver implements ConstructorResolver {
// Basically.. we have to have all parameters match up until the varargs one, then the rest of what is
@ -83,20 +84,20 @@ public class ReflectiveConstructorResolver implements ConstructorResolver {
@@ -83,20 +84,20 @@ public class ReflectiveConstructorResolver implements ConstructorResolver {
// the same type whilst the final argument to the method must be an array of that (oh, how easy...not) -
// or the final parameter
// we are supplied does match exactly (it is an array already).
@ -169,20 +170,20 @@ public class ReflectiveMethodResolver implements MethodResolver {
@@ -169,20 +170,20 @@ public class ReflectiveMethodResolver implements MethodResolver {
@ -198,7 +199,7 @@ public class ReflectiveMethodResolver implements MethodResolver {
@@ -198,7 +199,7 @@ public class ReflectiveMethodResolver implements MethodResolver {