private ReaderWriterLock<?> lock() {
        return rwLock;
    }
Manages templates. Handles reading default templates contributed via XML and
user-defined (or overridden) templates stored in the preferences.
<p>
Clients may instantiate but not subclass this class.
</p>
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/templates/SQLTemplateStore.java