public String getItems ( ) { final StringBuilder sb = new StringBuilder ( ) ; boolean first = true ; for ( final WaveItem < ? > waveItem : items ( ) ) { if ( first ) { first = false ; } else { sb . append ( ", " ) ; } String fullName = waveItem . type ( ) instanceof ParameterizedType ? ( ( ParameterizedType ) waveItem . type ( ) ) . toString ( ) : ( ( Class < ? > ) waveItem . type ( ) ) . getName ( ) ; sb . append ( fullName ) . append ( " " ) ; fullName = fullName . replaceAll ( "[<>]" , "" ) ; if ( waveItem . name ( ) == null || waveItem . name ( ) . isEmpty ( ) ) { sb . append ( ObjectUtility . lowerFirstChar ( fullName . substring ( fullName . lastIndexOf ( ' ' ) + 1 ) ) ) ; } else { sb . append ( waveItem . name ( ) ) ; } } return sb . toString ( ) ; }
Return the required method parameter list to handle this WaveType .