public static boolean extractAsBoolean ( Element item , Class < ? extends Annotation > annotationClass , AnnotationAttributeType attribute ) { final Elements elementUtils = BaseProcessor . elementUtils ; final One < Boolean > result = new One < Boolean > ( false ) ; extractString ( elementUtils , item , annotationClass , attribute , new OnAttributeFoundListener ( ) { @ Override public void onFound ( String value ) { result . value0 = Boolean . parseBoolean ( value ) ; } } ) ; return result . value0 ; }
Extract as boolean .