private ICommand getFindBugsCommand ( IProjectDescription description ) { ICommand [ ] commands = description . getBuildSpec ( ) ; for ( int i = 0 ; i < commands . length ; ++ i ) { if ( FindbugsPlugin . BUILDER_ID . equals ( commands [ i ] . getBuilderName ( ) ) ) { return commands [ i ] ; } } return null ; }
Find the specific FindBugs command amongst the build spec of a given description