< prev index next >
src/java.base/share/classes/java/lang/reflect/ParameterizedType.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -26,11 +26,11 @@
package java.lang.reflect;
/**
* ParameterizedType represents a parameterized type such as
- * Collection<String>.
+ * {@code Collection<String>}.
*
* <p>A parameterized type is created the first time it is needed by a
* reflective method, as specified in this package. When a
* parameterized type p is created, the generic type declaration that
* p instantiates is resolved, and all type arguments of p are created
@@ -40,10 +40,11 @@
*
* <p>Instances of classes that implement this interface must implement
* an equals() method that equates any two instances that share the
* same generic type declaration and have equal type parameters.
*
+ * @jls 4.5 Parameterized Types
* @since 1.5
*/
public interface ParameterizedType extends Type {
/**
* Returns an array of {@code Type} objects representing the actual type
< prev index next >