base class for code-annotate plugins