I tried to add class format for list in 2 ways below but it doesn\'t work.
nullable((Class>) new ArrayList().getClass())