< prev index next >
src/java.base/share/classes/sun/reflect/generics/reflectiveObjects/GenericArrayTypeImpl.java
Print this page
*** 51,64 ****
return new GenericArrayTypeImpl(ct);
}
/**
! * Returns a <tt>Type</tt> object representing the component type
* of this array.
*
! * @return a <tt>Type</tt> object representing the component type
* of this array
* @since 1.5
*/
public Type getGenericComponentType() {
return genericComponentType; // return cached component type
--- 51,64 ----
return new GenericArrayTypeImpl(ct);
}
/**
! * Returns a {@code Type} object representing the component type
* of this array.
*
! * @return a {@code Type} object representing the component type
* of this array
* @since 1.5
*/
public Type getGenericComponentType() {
return genericComponentType; // return cached component type
< prev index next >