(Object base, int idx)
| 151 | } |
| 152 | |
| 153 | private static void checkBounds(Object base, int idx) { |
| 154 | if (idx < 0 || idx >= Array.getLength(base)) { |
| 155 | throw new PropertyNotFoundException(new ArrayIndexOutOfBoundsException(idx).getMessage()); |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | private static int coerce(Object property) { |
| 160 | if (property instanceof Number) { |
no test coverage detected