Java tutorial
//package com.java2s; public class Main { public static boolean isArray(Class<?> clazz) { return clazz != null && clazz.isArray(); } }