private DebugStyler debugStylers ( String ... names ) throws VectorPrintException { if ( settings . getBooleanProperty ( false , DEBUG ) ) { DebugStyler dst = new DebugStyler ( ) ; StylerFactoryHelper . initStylingObject ( dst , writer , document , null , layerManager , settings ) ; try { ParamAnnotationProcessorImpl . PAP . initParameters ( dst ) ; } catch ( NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException ex ) { throw new VectorPrintException ( ex ) ; } for ( String n : names ) { dst . getStyleSetup ( ) . add ( n ) ; styleSetup . put ( n , SettingsBindingService . getInstance ( ) . getFactory ( ) . getBindingHelper ( ) . serializeValue ( settings . getStringProperties ( null , n ) ) ) ; } return dst ; } return null ; }
return a debug styler that will be appended to the stylers for providing debugging info in reports