/** * Creates a raw type of a type description where the supplied owner type is used as . * * @param type The type to represent as a raw type. * @param ownerType The raw type's (annotated) declaring type or {@code null} if no owner type should be declared. * @return A builder for creating a raw type. */ public static Builder rawType(Class<?> type, Generic ownerType) { return rawType(ForLoadedType.of(type), ownerType); }
/** * Creates a raw type of a type description. * * @param type The type to represent as a raw type. * @return A builder for creating a raw type. */ public static Builder rawType(Class<?> type) { return rawType(ForLoadedType.of(type)); }