checks to see if the ast is annotated with the passed in annotation . this method will not look for imports or package statements to detect the passed in annotation . to check if an ast contains a passed in annotation taking into account fully-qualified names ex : java.lang.override , override this method will need to be called twice . once for each name given . concode_field_sep String THE_AST_IS_NULL concode_field_sep DetailAST getAnnotation concode_elem_sep DetailAST getAnnotationHolder
boolean function ( final DetailAST arg0 , String arg1 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( THE_AST_IS_NULL ) ; } return getAnnotation ( arg0 , arg1 ) != null ; }