code: @CheckForNull
      public static String getFullIdent(@Nonnull final DetailAST pAst)
      {
          String result = null;
          DetailAST ast = checkTokens(pAst.getFirstChild(), TokenTypes.DOT, TokenTypes.IDENT);
          if (ast != null) {
              StringBuilder sb = new StringBuilder();
              if (getFullIdentInternal(ast, sb)) {
                  result = sb.toString();
              }
          }
          return result;
      }
docs: Determine the full identifier of the current element on the AST. The identifier is built from DOT and IDENT
  elements found directly below the specified element. Other elements encountered are ignored.
  
  @param pAst an AST
  @return the full identifier constructed from either the first encountered IDENT or DOT; <code>null</code> if no
  identifier could be constructed