public static @ Nonnull Optional < Class > arrayTypeForPrimitive ( String primitiveType ) { if ( primitiveType != null ) { return Optional . ofNullable ( PRIMITIVE_ARRAY_MAP . get ( primitiveType ) ) ; } return Optional . empty ( ) ; }
Returns the array type for the given primitive type name .