@ 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 ; }
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 .