public static PsiElement getNameIdentifier(X816LabelDef element) {
   ASTNode keyNode = element.getNode().findChildByType(X816Types.LABEL);
   if (keyNode != null) {
     return keyNode.getPsi();
   } else {
     return null;
   }
 }
 public static String getLabelName(X816LabelDef element) {
   String symbolName = element.getText();
   return symbolName.substring(0, symbolName.length() - 1);
 }