code: static void pullDataSourceProperties(String name, DataSource dataSource) {
  		// CHECKSTYLE:ON
  		final String dataSourceClassName = dataSource.getClass().getName();
  		if ("org.apache.tomcat.dbcp.dbcp.BasicDataSource".equals(dataSourceClassName)
  				&& dataSource instanceof BasicDataSource) {
  			pullTomcatDbcpDataSourceProperties(name, dataSource);
  		} else if ("org.apache.tomcat.dbcp.dbcp2.BasicDataSource".equals(dataSourceClassName)
  				&& dataSource instanceof org.apache.tomcat.dbcp.dbcp2.BasicDataSource) {
  			pullTomcatDbcp2DataSourceProperties(name, dataSource);
  		} else if ("org.apache.commons.dbcp.BasicDataSource".equals(dataSourceClassName)
  				&& dataSource instanceof org.apache.commons.dbcp.BasicDataSource) {
  			pullCommonsDbcpDataSourceProperties(name, dataSource);
  		} else if ("org.apache.commons.dbcp2.BasicDataSource".equals(dataSourceClassName)
  				&& dataSource instanceof org.apache.commons.dbcp2.BasicDataSource) {
  			pullCommonsDbcp2DataSourceProperties(name, dataSource);
  		} else if ("org.apache.tomcat.jdbc.pool.DataSource".equals(dataSourceClassName)
  				&& dataSource instanceof org.apache.tomcat.jdbc.pool.DataSource) {
  			pullTomcatJdbcDataSourceProperties(name, dataSource);
  		}
  	}
docs: CHECKSTYLE:OFF