public Set < ApiFlowDoc > getApiFlowDocs ( Set < Class < ? > > classes , List < ApiMethodDoc > apiMethodDocs ) { Set < ApiFlowDoc > apiFlowDocs = new TreeSet < ApiFlowDoc > ( ) ; for ( Class < ? > clazz : classes ) { log . debug ( "Getting JSONDoc for class: " + clazz . getName ( ) ) ; Method [ ] methods = clazz . getMethods ( ) ; for ( Method method : methods ) { if ( method . isAnnotationPresent ( ApiFlow . class ) ) { ApiFlowDoc apiFlowDoc = getApiFlowDoc ( method , apiMethodDocs ) ; apiFlowDocs . add ( apiFlowDoc ) ; } } } return apiFlowDocs ; }
Gets the API flow documentation for the set of classes passed as argument