test if a class has the provided annotation concode_field_sep ClassPool classPool concode_field_sep void createAnnotation concode_elem_sep void createAnnotation concode_elem_sep CtClass makeClass concode_elem_sep URL find concode_elem_sep boolean isAnon concode_elem_sep boolean isScala concode_elem_sep ClassPool newClassPool concode_elem_sep void enhanceThisClass concode_elem_sep InputStream openClassfile concode_elem_sep void close concode_elem_sep AnnotationsAttribute getAnnotations concode_elem_sep AnnotationsAttribute getAnnotations concode_elem_sep AnnotationsAttribute getAnnotations concode_elem_sep boolean isScalaObject
boolean function ( CtClass arg0 , String arg1 ) { for ( Object loc0 : arg0 . getAvailableAnnotations ( ) ) { Annotation loc1 = ( Annotation ) loc0 ; if ( loc1 . annotationType ( ) . getName ( ) . equals ( arg1 ) ) { return true ; } } return false ; }