@MagicConstant(flagsFromClass = Pattern.class)
  int getFlags(PsiElement elementInHost, PsiFile regexp);
@MagicConstant(flagsFromClass = Pattern.class)
  int getFlags(PsiElement elementInHost, PsiFile regexp)