I want to connect documentation (user stories) to source code. So for example, in a hypothetical company there are 100 text files with user comments about anything (bugs, comments on certain functionalities etc). What i want; is an automatic way to relate these documents to the source code. Just find the links. So for example if a user says something like: well, "button A" is not working properly in one of the text files. I need a tool that will trace this sentence to the piece(s) of code that implement "button A" and report something like: well, this text file over there is related to this class over here.
I believe that fits into the tractability domain (documents/natural language to source code) but i cannot seem to find a tool that implements it.
Does anyone know a tool that does that?
P.S. the programming language is Java