inclass generic type