import io.github.gentref.GenTyRef;
public class Main {
public static void main(String[] args) {
TypeToken<List<String>> token = new TypeToken<List<String>>() {};
List<Type> typeArgs = GenTyRef.getTypeArgs(token.getType());
for (Type typeArg : typeArgs) {
System.out.println(typeArg.getTypeName());
}
}
}