private static String getLabel(PsiElement element) {
      String label = null;
      if (element.getParent() instanceof PsiLabeledStatement) {
        label = ((PsiLabeledStatement)element.getParent()).getName();
      }
      return label;
    }
private static String getLabel(PsiElement element)