private static void printAnnotation(SBase sb, string id)
    {
        if (!sb.isSetAnnotation())
        {
            return;
        }

        Console.Write("----- " + sb.getElementName() + " (" + id
                      + ") annotation -----" + Environment.NewLine);
        Console.Write(sb.getAnnotationString() + Environment.NewLine);
        Console.Write(Environment.NewLine);
    }