protected void processIdent ( DetailAST aAST ) { final int parentType = aAST . getParent ( ) . getType ( ) ; if ( ( ( parentType != TokenTypes . DOT ) && ( parentType != TokenTypes . METHOD_DEF ) ) || ( ( parentType == TokenTypes . DOT ) && ( aAST . getNextSibling ( ) != null ) ) ) { referenced . add ( aAST . getText ( ) ) ; } }
Collects references made by IDENT .