private static int getIndent(boolean isTooltip, PsiFile file) {
    return isTooltip ? 0 : file != null && !(file instanceof PsiCompiledFile) ? CodeStyle.getIndentSize(file) : 4;
  }
private static int getIndent(boolean isTooltip, PsiFile file)