Closed marshallpierce closed 9 years ago
I tested this by adding a PostHandler inner class to the MessageServlet class. Seems to me mapped fine to the MessageServlet.java source file name just fine. Is this just working, or did you think about supporting inner classes at some other level?
I hadn't tried it at all, but that's awesome that it works. :) Right now we're filtering classes with "$$" out; I'd like to make that more robust by seeing whether or not we can find the sources at instrumentation time so we can avoid the overhead if we can't usefully show it anyway.
In what I have to assume was a moment of altitude-induced insanity, I didn't correctly follow the logic of how we get notified of visiting a source file and how that translates into the registry. So, I think this is a non-issue.
Perhaps sufficient application of getDeclaringClass() / looking for what classes have source available would do it.