public final void addGenerator ( @ NotNull final GeneratorConfig generator ) { Contract . requireArgNotNull ( "generator" , generator ) ; if ( list == null ) { list = new ArrayList <> ( ) ; } list . add ( generator ) ; }
Adds a generator to the list . If the list does not exist it s created .