CodeLine is Java open source snippet organizer. It allows you to save and organize code snippets in different categories and attach a note to every snippet, so you can write down important things about the code.
Snippets are saved in plain text files, this way you can always access your code using a text editor.
CodeLine has multi-lingual support and it's easy to translate it to your language. Currently it supports English, Catalan and Spanish.