question: @ Override public String generateLabel ( CategoryDataset dataset , int series ) { ParamChecks . nullNotPermitted ( dataset , "dataset" ) ; String label = MessageFormat . format ( this . formatPattern , createItemArray ( dataset , series ) ) ; return label ; }
target:  Generates a label for the specified series.