<commit_before>package com.intellij.psi.impl;

import com.intellij.codeInsight.CodeInsightBundle;
import com.intellij.codeInsight.TestUtil;
import com.intellij.compiler.CompilerConfiguration;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.roots.ProjectRootManager;
import com.intellij.openapi.util.IconLoader;
import com.intellij.openapi.util.Iconable;
import com.intellij.openapi.util.Key;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.*;
import com.intellij.psi.impl.source.jsp.jspJava.JspClass;
import com.intellij.psi.util.*;
import com.intellij.ui.RowIcon;
import com.intellij.util.Icons;
import com.intellij.util.VisibilityIcons;
import gnu.trove.TIntObjectHashMap;

import javax.swing.*;

public class ElementPresentationUtil {
  private static final Icon STATIC_MARK_ICON = IconLoader.getIcon("/nodes/staticMark.png");
  private static final Icon FINAL_MARK_ICON = IconLoader.getIcon("/nodes/finalMark.png");
  private static final Icon JUNIT_TEST_MARK = IconLoader.getIcon("/nodes/junitTestMark.png");
  private static final Icon RUNNABLE_MARK = IconLoader.getIcon("/nodes/runnableMark.png");

  private ElementPresentationUtil() {
  }


  public static int getFlags(PsiModifierListOwner element, final boolean isLocked) {
    final PsiFile containingFile = element.getContainingFile();
    final VirtualFile vFile = containingFile == null ? null : containingFile.getVirtualFile();
    final boolean isEnum = element instanceof PsiClass && ((PsiClass)element).isEnum();
    int flags = (element.hasModifierProperty(PsiModifier.FINAL) && !isEnum ? FLAGS_FINAL : 0)<commit_msg>android test layered icon<commit_after>package com.intellij.psi.impl;

import com.intellij.codeInsight.CodeInsightBundle;
import com.intellij.codeInsight.TestUtil;
import com.intellij.compiler.CompilerConfiguration;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.roots.ProjectRootManager;
import com.intellij.openapi.util.IconLoader;
import com.intellij.openapi.util.Iconable;
import com.intellij.openapi.util.Key;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.*;
import com.intellij.psi.impl.source.jsp.jspJava.JspClass;
import com.intellij.psi.util.*;
import com.intellij.ui.RowIcon;
import com.intellij.util.Icons;
import com.intellij.util.VisibilityIcons;
import gnu.trove.TIntObjectHashMap;

import javax.swing.*;

public class ElementPresentationUtil {
  private static final Icon STATIC_MARK_ICON = IconLoader.getIcon("/nodes/staticMark.png");
  private static final Icon FINAL_MARK_ICON = IconLoader.getIcon("/nodes/finalMark.png");
  public static final Icon JUNIT_TEST_MARK = IconLoader.getIcon("/nodes/junitTestMark.png");
  private static final Icon RUNNABLE_MARK = IconLoader.getIcon("/nodes/runnableMark.png");

  private ElementPresentationUtil() {
  }


  public static int getFlags(PsiModifierListOwner element, final boolean isLocked) {
    final PsiFile containingFile = element.getContainingFile();
    final VirtualFile vFile = containingFile == null ? null : containingFile.getVirtualFile();
    final boolean isEnum = element instanceof PsiClass && ((PsiClass)element).isEnum();
    int flags = (element.hasModifierProperty(PsiModifier.FINAL) && !isEnum ? FLAGS_FINAL : 0)
{'fraction_non_alphanumeric': 0.10601125259105715, 'fraction_numerical': 0.0005922416345869114, 'mean_word_length': 5.922131147540983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4045507', 'n_tokens_mistral': 1071, 'n_tokens_neox': 1058, 'n_words': 200}