void (@NotNull PsiBuilder builder, boolean allowBareFieldReference, @NotNull AbstractBasicJavaDocElementTypeFactory.JavaDocElementTypeContainer javaDocElementTypeContainer) { IElementType tokenType = getTokenType(builder); if (tokenType == JavaDocTokenType.DOC_TAG_VALUE_SHARP_TOKEN) { parseMethodRef(builder, builder.mark(), javaDocElementTypeContainer); } else if (tokenType == JavaDocTokenType.DOC_TAG_VALUE_TOKEN) { PsiBuilder.Marker refStart = builder.mark(); builder.remapCurrentToken(javaDocElementTypeContainer.DOC_REFERENCE_HOLDER); builder.advanceLexer(); if (getTokenType(builder) == JavaDocTokenType.DOC_TAG_VALUE_SHARP_TOKEN) { parseMethodRef(builder, refStart, javaDocElementTypeContainer); } else if (allowBareFieldReference) { refStart.rollbackTo(); builder.remapCurrentToken(JavaDocTokenType.DOC_TAG_VALUE_TOKEN); parseMethodRef(builder, builder.mark(), javaDocElementTypeContainer); } else { refStart.drop(); } } else { PsiBuilder.Marker tagValue = builder.mark(); builder.advanceLexer(); tagValue.done(javaDocElementTypeContainer.DOC_TAG_VALUE_ELEMENT); } }