In Java for Android, you can give a description of your methods / functions in the form of / ** Description * /, and it supports the RTF format. In the same QtCreator, you can also drag a mouse to a method and read its description, what it does and why it is. Actually the question: how to do it for your methods?