@Override
    public boolean addAnnotations(Map<String, Annotation> source, boolean clearSource)
    {
        if (source.isEmpty())
            return false;

        this.annotations.putAll(source);
        if (clearSource)
            source.clear();

        return true;
    }
Short-hand for {@link #getAnnotationMap()}.
<p>
You then can use:

<pre>
&lt;if(message.a.("SomeAnnotation"))&gt;
</pre>
protostuff-parser/src/main/java/io/protostuff/parser/AnnotationContainer.java