/** * @return the represented Type. Note that for a parametrized type, we can just return this, * because it implements the ParametrizedType interface. */ public Type toType() { if (this.isClass) { return this.getRawType(); } else { return this; } }
/** * @return the represented Type. Note that for a parametrized type, we can just return this, * because it implements the ParametrizedType interface. */ public Type toType() { if (this.isClass) { return this.getRawType(); } else { return this; } }