public static Boolean getAnnotationAttributeAsBoolean ( ModelWithAnnotation model , Class < ? extends Annotation > annotation , AnnotationAttributeType attribute , Boolean defaultValue ) { return getAnnotationAttribute ( model , annotation , attribute , defaultValue , new OnAnnotationAttributeListener < Boolean > ( ) { @ Override public Boolean onFound ( String value ) { return Boolean . valueOf ( value ) ; } } ) ; }
Gets the annotation attribute as boolean .