public static ElementBuilder [ ] newBuilders ( Class < ? > type ) { List < ElementBuilder > builders = new ArrayList < ElementBuilder > ( ) ; for ( ElementBuilderFactory factory : loader ) { ElementBuilder b = factory . newBuilder ( type ) ; if ( b != null ) { builders . add ( b ) ; } } return builders . toArray ( new ElementBuilder [ 0 ] ) ; }
Return an array of builders that will build one part of the program .