creates a typespec.builder from an initial template of an interface concode_field_sep String ANNOTATION_FORMAT concode_field_sep List<MethodSpec> processOneOrMoreActionBodies concode_elem_sep TypeSpec createInterfaceFor 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
TypeSpec . Builder function ( final Resource arg0 ) { return interfaceBuilder ( resourceInterfaceNameOf ( arg0 ) ) . addModifiers ( PUBLIC ) . addAnnotation ( AnnotationSpec . builder ( Path . class ) . addMember ( DEFAULT_ANNOTATION_PARAMETER , ANNOTATION_FORMAT , pathAnnotationFor ( arg0 ) ) . build ( ) ) ; }