genericComponentType = ct;
}
- /**
- * Factory method.
- * @param ct - the desired component type of the generic array type
- * being created
- * @return a generic array type with the desired component type
- */
public static GenericArrayTypeImpl make(Type ct) {
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
}