private void generateOutput ( ) { final Filer filer = processingEnv . getFiler ( ) ; writeJsonToFile ( filer , "JSONClasses" , jsonClasses ) ; writeJsonToFile ( filer , "debugcrud" , debugMessages ) ; final List < ResourceMethod > resources = Lists . newArrayList ( ) ; for ( ResourceClass klass : resourceClasses . values ( ) ) { final String path = klass . getPath ( ) ; for ( final ResourceMethod method : klass . getMembers ( ) ) { resources . add ( new ResourceMethod ( "" , method . getMethod ( ) , computeDisplayPath ( path , method . getPath ( ) ) , method . getReturnContentType ( ) , method . getReturnType ( ) , method . getArguments ( ) , method . getJavadoc ( ) ) ) ; } } writeJsonToFile ( filer , "RESTEndpoints" , resources ) ; }
Dump the contents of our discoveries .