Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getElementTypeOfArray (0.1 sec)

  1. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * </p>
         *
         * @param type
         *            the type to analyze
         * @return the element type of the array, or null if not an array of parameterized types
         */
        public static Type getElementTypeOfArray(final Type type) {
            if (!(type instanceof GenericArrayType)) {
                return null;
            }
            return GenericArrayType.class.cast(type).getGenericComponentType();
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top