@Test void array_isSimple() { int[] numbers = new int[10]; assertThat(ExpanderUtils.isSimpleType(numbers.getClass())).isTrue(); }
static boolean isSimpleType(Class<?> type) { return type.isAnnotation() || type.isArray() || type.isEnum() || type.isPrimitive() || String.class == type || Iterable.class.isAssignableFrom(type) || Map.class.isAssignableFrom(type); }
ExpanderUtils { static boolean isSimpleType(Class<?> type) { return type.isAnnotation() || type.isArray() || type.isEnum() || type.isPrimitive() || String.class == type || Iterable.class.isAssignableFrom(type) || Map.class.isAssignableFrom(type); } }
ExpanderUtils { static boolean isSimpleType(Class<?> type) { return type.isAnnotation() || type.isArray() || type.isEnum() || type.isPrimitive() || String.class == type || Iterable.class.isAssignableFrom(type) || Map.class.isAssignableFrom(type); }  }
ExpanderUtils { static boolean isSimpleType(Class<?> type) { return type.isAnnotation() || type.isArray() || type.isEnum() || type.isPrimitive() || String.class == type || Iterable.class.isAssignableFrom(type) || Map.class.isAssignableFrom(type); }   }
ExpanderUtils { static boolean isSimpleType(Class<?> type) { return type.isAnnotation() || type.isArray() || type.isEnum() || type.isPrimitive() || String.class == type || Iterable.class.isAssignableFrom(type) || Map.class.isAssignableFrom(type); }    }