char[] genericSignature = info.getGenericSignature();
String anchor = null;
if (genericSignature != null) {
genericSignature = CharOperation.replaceOnCopy(genericSignature, '/', '.');
anchor = Util.toAnchor(0, genericSignature, methodName, Flags.isVarargs(method.getFlags()));
if (anchor == null) throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.UNKNOWN_JAVADOC_FORMAT, method));
} else {
anchor = Signature.toString(method.getSignature().replace('/', '.'), methodName, null, true, false, Flags.isVarargs(method.getFlags()));
}
IType declaringType = this.type;
if (declaringType.isMember()) {