Code example for GenericArrayType

Methods: getGenericComponentType

0
        @Override 
        public boolean equals(Object o) {
            if (o instanceof GenericArrayType) {
                GenericArrayType that = (GenericArrayType) o;
 
                Type thatComponentType = that.getGenericComponentType();
                return genericComponentType.equals(thatComponentType);
            } else 
                return false; 
        } 
 
        @Override 
        public int hashCode() { 
            return genericComponentType.hashCode();
        } 
    } 
 
    static final class WildcardTypeImpl implements WildcardType {
 
        private final Type[] ub;
        private final Type[] lb;