Exposing Runtime Information through Source Code Annotations

Matúš SulĂ­r, Jaroslav Porubän · Acta Electrotechnica et Informatica · 2017

Many tools support exploration and analysis of various run-time properties of programs.However, the results produced by these tools are often discarded or stored in custom external files.We discuss an approach where data obtained when executing the program are written as Java annotations over program elements.First, the viability of this approach is demonstrated by a feature annotator, which assigns features to corresponding methods.Second, we describe other types of run-time information that we consider suitable for inclusion in the source code.We also suggest two possible workflows how generated annotations can be used in the development process.

Read the paper · More papers on PaperTik