question: protected String generateSectionLabel ( PieDataset dataset , Comparable key ) { String result = null ; if ( dataset != null ) { Object [ ] items = createItemArray ( dataset , key ) ; result = MessageFormat . format ( this . labelFormat , items ) ; } return result ; }
target:  Generates a label for a pie section.