By 'throwing warnings' I mean the compiler and IDE are warning about unchecked casts and generic arrays via varargs.