void (StringBuilder buffer, PsiVariable variable, boolean annotations) { buffer.append(DocumentationMarkup.DEFINITION_START); StringBuilder signatureBuffer = new StringBuilder(); generateModifiers(signatureBuffer, variable, false); if (annotations) { generateAnnotations(signatureBuffer, variable, SignaturePlace.Javadoc, true, false, true); } generateType(signatureBuffer, variable.getType(), variable); signatureBuffer.append(" "); appendStyledSpan(signatureBuffer, getHighlightingManager().getLocalVariableAttributes(), variable.getName()); buffer.append(signatureBuffer); appendInitializer(buffer, variable, StringUtil.removeHtmlTags(signatureBuffer.toString()).length()); buffer.append(DocumentationMarkup.DEFINITION_END); }