Scala does not support SuppressWarnings annotation