private boolean waveBeanContains ( WaveItem < ? > waveItem ) { return waveBeanList ( ) . stream ( ) . flatMap ( wb -> Stream . of ( wb . getClass ( ) . getDeclaredFields ( ) ) ) . map ( f -> f . getName ( ) ) . anyMatch ( n -> waveItem . name ( ) . equals ( n ) ) ; }
Check if this item is contained into on Wave bean .