public static RawAnnotation getRawAnnotation(final String annotationName, final DocletTag tag) {
public static RawAnnotation getRawAnnotation(final Class annotationClass, final DocletTag tag) {
    public static RawAnnotation getRawAnnotation(final String annotationName, final DocletTag tag) {        String rawAnnotationString = tag.getName() + " " + tag.getValue();        rawAnnotationString = rawAnnotationString.trim();        removeFormattingCharacters(rawAnnotationString);        int contentStartIndex = rawAnnotationString.indexOf('(');        if (contentStartIndex != -1 && !rawAnnotationString.endsWith(")")) {            throw new SourceParseException("annotation not well-formed, needs to end with a closing parenthesis [" + rawAnnotationString + "]");        }        final String value;        if (contentStartIndex != -1) {            value = rawAnnotationString.substring(contentStartIndex + 1, rawAnnotationString.length() - 1);        } else {            value = "";        }        return new RawAnnotation(annotationName, value);    }