@@ -3257,8 +3257,8 @@ else if (type instanceof ParameterizedType) {
32573257 /**
32583258 * Returns a type representing the class, with all type parameters the
32593259 * unbound wildcard ("?"). For example,
3260- * <tt >addWildcardParameters(Map.class)</tt > returns a type representing
3261- * <tt >Map<?,?></tt >.
3260+ * <code >addWildcardParameters(Map.class)</code > returns a type representing
3261+ * <code >Map<?,?></code >.
32623262 *
32633263 * @return
32643264 * <ul>
@@ -3288,27 +3288,27 @@ else if (isMissingTypeParameters(clazz)) {
32883288 }
32893289
32903290 /**
3291- * Finds the most specific supertype of <tt >type</tt > whose erasure is
3292- * <tt >searchClass</tt >. In other words, returns a type representing the
3293- * class <tt >searchClass</tt > plus its exact type parameters in
3294- * <tt >type</tt >.
3291+ * Finds the most specific supertype of <code >type</code > whose erasure is
3292+ * <code >searchClass</code >. In other words, returns a type representing the
3293+ * class <code >searchClass</code > plus its exact type parameters in
3294+ * <code >type</code >.
32953295 * <ul>
32963296 * <li>Returns an instance of {@link ParameterizedType} if
3297- * <tt >searchClass</tt > is a real class or interface and <tt >type</tt > has
3297+ * <code >searchClass</code > is a real class or interface and <code >type</code > has
32983298 * parameters for it</li>
32993299 * <li>Returns an instance of {@link GenericArrayType} if
3300- * <tt >searchClass</tt > is an array type, and <tt >type</tt > has type
3300+ * <code >searchClass</code > is an array type, and <code >type</code > has type
33013301 * parameters for it</li>
3302- * <li>Returns an instance of {@link Class} if <tt >type</tt > is a raw type,
3303- * or has no type parameters for <tt >searchClass</tt ></li>
3304- * <li>Returns null if <tt >searchClass</tt > is not a superclass of type.
3302+ * <li>Returns an instance of {@link Class} if <code >type</code > is a raw type,
3303+ * or has no type parameters for <code >searchClass</code ></li>
3304+ * <li>Returns null if <code >searchClass</code > is not a superclass of type.
33053305 * </li>
33063306 * </ul>
33073307 * <p>
33083308 * For example, with
3309- * <tt >class StringList implements List<String></tt >,
3310- * <tt >getExactSuperType(StringList.class, Collection.class)</tt > returns a
3311- * {@link ParameterizedType} representing <tt >Collection<String></tt >.
3309+ * <code >class StringList implements List<String></code >,
3310+ * <code >getExactSuperType(StringList.class, Collection.class)</code > returns a
3311+ * {@link ParameterizedType} representing <code >Collection<String></code >.
33123312 * </p>
33133313 */
33143314 public static Type getExactSuperType (final Type type ,
@@ -3337,9 +3337,9 @@ public static Type getExactSuperType(final Type type,
33373337 /**
33383338 * Gets the type parameter for a given type that is the value for a given
33393339 * type variable. For example, with
3340- * <tt >class StringList implements List<String></tt >,
3341- * <tt >getTypeParameter(StringList.class, Collection.class.getTypeParameters()[0])</tt >
3342- * returns <tt >String</tt >.
3340+ * <code >class StringList implements List<String></code >,
3341+ * <code >getTypeParameter(StringList.class, Collection.class.getTypeParameters()[0])</code >
3342+ * returns <code >String</code >.
33433343 *
33443344 * @param type The type to inspect.
33453345 * @param variable The type variable to find the value for.
@@ -3569,9 +3569,9 @@ private static Type[] getArrayExactDirectSuperTypes(final Type arrayType) {
35693569
35703570 /**
35713571 * Returns the exact return type of the given method in the given type. This
3572- * may be different from <tt >m.getGenericReturnType()</tt > when the method
3573- * was declared in a superclass, or <tt >type</tt > has a type parameter that
3574- * is used in the return type, or <tt >type</tt > is a raw type.
3572+ * may be different from <code >m.getGenericReturnType()</code > when the method
3573+ * was declared in a superclass, or <code >type</code > has a type parameter that
3574+ * is used in the return type, or <code >type</code > is a raw type.
35753575 */
35763576 public static Type getExactReturnType (final Method m , final Type type ) {
35773577 final Type returnType = m .getGenericReturnType ();
@@ -3587,9 +3587,9 @@ public static Type getExactReturnType(final Method m, final Type type) {
35873587
35883588 /**
35893589 * Returns the exact type of the given field in the given type. This may be
3590- * different from <tt >f.getGenericType()</tt > when the field was declared in
3591- * a superclass, or <tt >type</tt > has a type parameter that is used in the
3592- * type of the field, or <tt >type</tt > is a raw type.
3590+ * different from <code >f.getGenericType()</code > when the field was declared in
3591+ * a superclass, or <code >type</code > has a type parameter that is used in the
3592+ * type of the field, or <code >type</code > is a raw type.
35933593 */
35943594 public static Type getExactFieldType (final Field f , final Type type ) {
35953595 final Type returnType = f .getGenericType ();
@@ -3605,9 +3605,9 @@ public static Type getExactFieldType(final Field f, final Type type) {
36053605
36063606 /**
36073607 * Returns the exact parameter types of the given method in the given type.
3608- * This may be different from <tt >m.getGenericParameterTypes()</tt > when the
3609- * method was declared in a superclass, or <tt >type</tt > has a type
3610- * parameter that is used in one of the parameters, or <tt >type</tt > is a
3608+ * This may be different from <code >m.getGenericParameterTypes()</code > when the
3609+ * method was declared in a superclass, or <code >type</code > has a type
3610+ * parameter that is used in one of the parameters, or <code >type</code > is a
36113611 * raw type.
36123612 */
36133613 public static Type [] getExactParameterTypes (final Method m ,
@@ -3666,14 +3666,14 @@ public static Type capture(final Type type) {
36663666 /**
36673667 * Returns list of classes and interfaces that are supertypes of the given
36683668 * type. For example given this class:
3669- * <tt >class Foo<A extends Number & Iterable<A>, B extends A></tt >
3669+ * <code >class Foo<A extends Number & Iterable<A>, B extends A></code >
36703670 * <br>
3671- * calling this method on type parameters <tt >B</tt >
3672- * (<tt >Foo.class.getTypeParameters()[1]</tt >) returns a list containing
3673- * <tt >Number</tt > and <tt >Iterable</tt >.
3671+ * calling this method on type parameters <code >B</code >
3672+ * (<code >Foo.class.getTypeParameters()[1]</code >) returns a list containing
3673+ * <code >Number</code > and <code >Iterable</code >.
36743674 * <p>
36753675 * This is mostly useful if you get a type from one of the other methods in
3676- * <tt >GenericTypeReflector</tt >, but you don't want to deal with all the
3676+ * <code >GenericTypeReflector</code >, but you don't want to deal with all the
36773677 * different sorts of types, and you are only really interested in concrete
36783678 * classes and interfaces.
36793679 * </p>
@@ -3719,17 +3719,17 @@ private static void buildUpperBoundClassAndInterfaces(final Type type,
37193719 private interface CaptureType extends Type {
37203720
37213721 /**
3722- * Returns an array of <tt >Type</tt > objects representing the upper bound(s)
3722+ * Returns an array of <code >Type</code > objects representing the upper bound(s)
37233723 * of this capture. This includes both the upper bound of a
3724- * <tt >? extends</tt > wildcard, and the bounds declared with the type
3724+ * <code >? extends</code > wildcard, and the bounds declared with the type
37253725 * variable. References to other (or the same) type variables in bounds
37263726 * coming from the type variable are replaced by their matching capture.
37273727 */
37283728 Type [] getUpperBounds ();
37293729
37303730 /**
3731- * Returns an array of <tt >Type</tt > objects representing the lower bound(s)
3732- * of this type variable. This is the bound of a <tt >? super</tt > wildcard.
3731+ * Returns an array of <code >Type</code > objects representing the lower bound(s)
3732+ * of this type variable. This is the bound of a <code >? super</code > wildcard.
37333733 * This normally contains only one or no types; it is an array for
37343734 * consistency with {@link WildcardType#getLowerBounds()}.
37353735 */
0 commit comments