Compares cached parameter types against Java classes. @param a cached parameter types @param b Java parameter types @return true if the arrays describe the same parameter types
(CachedClass[] a, Class[] b)
| 124 | * @return {@code true} if the arrays describe the same parameter types |
| 125 | */ |
| 126 | protected static boolean equal(CachedClass[] a, Class[] b) { |
| 127 | if (a.length == b.length) { |
| 128 | for (int i = 0, size = a.length; i < size; i++) { |
| 129 | if (!a[i].getTheClass().equals(b[i])) { |
| 130 | return false; |
| 131 | } |
| 132 | } |
| 133 | return true; |
| 134 | } |
| 135 | return false; |
| 136 | } |
| 137 | |
| 138 | /** |
| 139 | * Compares two cached parameter type arrays. |
no test coverage detected