void (StringBuilder buffer, @NotNull PsiElement element) { PsiFile file = element.getContainingFile(); if (file != null) { generateOrderEntryInfo(buffer, file.getVirtualFile(), element.getProject()); } if (file instanceof PsiJavaFile) { String packageName = ((PsiJavaFile)file).getPackageName(); if (packageName.length() > 0) { buffer.append(packageName); newLine(buffer); } } }