public static Set < String > getContributors ( Set < String > baseContributors , ProbeTest methodAnnotation , ProbeTestClass classAnnotation ) { Set < String > contributors ; if ( baseContributors == null ) { contributors = new HashSet <> ( ) ; } else { contributors = populateContributors ( baseContributors , new HashSet < String > ( ) ) ; } if ( classAnnotation != null && classAnnotation . contributors ( ) != null ) { contributors = populateContributors ( new HashSet <> ( Arrays . asList ( classAnnotation . contributors ( ) ) ) , contributors ) ; } if ( methodAnnotation != null && methodAnnotation . contributors ( ) != null ) { contributors = populateContributors ( new HashSet <> ( Arrays . asList ( methodAnnotation . contributors ( ) ) ) , contributors ) ; } return contributors ; }
Retrieve the contributors and compile them from the different sources