TypeSpec function ( final Resource arg0 ) { final TypeSpec . Builder loc0 = interfaceSpecFor ( arg0 ) ; arg0 . getActions ( ) . values ( ) . forEach ( action -> loc0 . addMethods ( forEach ( action ) ) ) ; return loc0 . build ( ) ; }
create an interface for the specified resource concode_field_sep String ANNOTATION_FORMAT concode_field_sep List<MethodSpec> processOneOrMoreActionBodies concode_elem_sep List<ParameterSpec> methodQueryParams concode_elem_sep String pathAnnotationFor concode_elem_sep List<ParameterSpec> methodParams concode_elem_sep List<MethodSpec> forEach concode_elem_sep List<ParameterSpec> methodPathParams concode_elem_sep List<AnnotationSpec> annotationsForProduces concode_elem_sep MethodSpec processNoActionBody concode_elem_sep MethodSpec.Builder generateResourceMethod concode_elem_sep List<TypeSpec> generateFor concode_elem_sep MethodSpec.Builder addToMethodWithMimeType concode_elem_sep TypeSpec.Builder interfaceSpecFor