76
76
* Utility class for working with generic types, fields and methods.
77
77
* <p>
78
78
* Logic and inspiration were drawn from the following excellent libraries:
79
+ * </p>
79
80
* <ul>
80
81
* <li>Google Guava's {@code com.google.common.reflect} package.</li>
81
82
* <li>Apache Commons Lang 3's {@code org.apache.commons.lang3.reflect} package.
82
83
* </li>
83
84
* <li><a href="https://github.com/coekarts/gentyref">GenTyRef</a> (Generic Type
84
85
* Reflector), a library for runtime generic type introspection.</li>
85
86
* </ul>
86
- * </p>
87
87
*
88
88
* @author Curtis Rueden
89
89
*/
@@ -416,6 +416,7 @@ public static boolean isText(final Class<?> type) {
416
416
* Returns the non-primitive {@link Class} closest to the given type.
417
417
* <p>
418
418
* Specifically, the following type conversions are done:
419
+ * </p>
419
420
* <ul>
420
421
* <li>boolean.class becomes Boolean.class</li>
421
422
* <li>byte.class becomes Byte.class</li>
@@ -427,6 +428,7 @@ public static boolean isText(final Class<?> type) {
427
428
* <li>short.class becomes Short.class</li>
428
429
* <li>void.class becomes Void.class</li>
429
430
* </ul>
431
+ * <p>
430
432
* All other types are unchanged.
431
433
* </p>
432
434
*/
@@ -451,6 +453,7 @@ public static <T> Class<T> box(final Class<T> type) {
451
453
* Returns the primitive {@link Class} closest to the given type.
452
454
* <p>
453
455
* Specifically, the following type conversions are done:
456
+ * </p>
454
457
* <ul>
455
458
* <li>Boolean.class becomes boolean.class</li>
456
459
* <li>Byte.class becomes byte.class</li>
@@ -462,6 +465,7 @@ public static <T> Class<T> box(final Class<T> type) {
462
465
* <li>Short.class becomes short.class</li>
463
466
* <li>Void.class becomes void.class</li>
464
467
* </ul>
468
+ * <p>
465
469
* All other types are unchanged.
466
470
* </p>
467
471
*/
0 commit comments