Javassist: creating an interface that extends another interface with generics
问题 I am using javassist in a project and I need to create the following interface at runtime: package com.example; import org.springframework.data.repository.CrudRepository; import com.example.Cat; public interface CatRepository extends CrudRepository<Cat, Long> {} While I had no problem creating the interface CatRepository extending CrudRepository , I do not understand (from the docs and from looking at the source code), how to specify com.example.Cat and java.lang.Long as generics types to the