Add support for primitive array types

Add support for `boolean[]`, `short[]`, `int[]`, `long[]` and `double[]`
```java
return (boolean.class == componentType) ||
        (short.class == componentType) ||
...