boolean function ( AnnotatedNode arg0 , String ... arg1 ) { for ( AnnotationNode loc0 : arg0 . getAnnotations ( ) ) { for ( String loc1 : arg1 ) { if ( PatternMatchUtils . simpleMatch ( loc1 , loc0 . getClassNode ( ) . getName ( ) ) ) { return true ; } } } return false ; }
determine if an annotatednode has one or more of the specified annotations.n.b . the annotation type names are not normally fully qualified . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean hasAtLeastOneInterface concode_elem_sep List<ExpressionStatement> getExpressionStatements concode_elem_sep ClosureExpression getClosure concode_elem_sep ClosureExpression getClosure concode_elem_sep ClosureExpression getClosure concode_elem_sep boolean hasAtLeastOneFieldOrMethod concode_elem_sep boolean subclasses