protected String _calcName(Class<?> cls) { if (cls.isArray()) { return _calcName(cls.getComponentType()) + "[]"; } return cls.getName(); }