void addAnnotationsTo(Extension target)
    {
        if (target.addAnnotations(annotations, true))
        {
            if (refOffset != references.size())
            {
                String enclosingNamespace = target.getEnclosingNamespace();
                int size = references.size();
                while (refOffset < size)
                    references.get(refOffset++).enclosingNamespace = enclosingNamespace;
            }
        }
        
        if (!docs.isEmpty())
        {
            target.docs.addAll(docs);
            docs.clear();
        }
    }
Returns the java package name that was configured in the proto. Note that {@link #getJavaPackageName()} will have
the same value as this, if the compiler options did not have entries that override it.
protostuff-parser/src/main/java/io/protostuff/parser/Proto.java