public RendererBuilder < T > withPrototype ( Renderer < ? extends T > renderer ) { if ( renderer == null ) { throw new NeedsPrototypesException ( "RendererBuilder can't use a null Renderer<T> instance as prototype" ) ; } this . prototypes . add ( renderer ) ; return this ; }
Add a Renderer instance as prototype .