private void buildDeprecatedSection ( MarkupDocBuilder markupDocBuilder , PathOperation operation ) { if ( BooleanUtils . isTrue ( operation . getOperation ( ) . isDeprecated ( ) ) ) { markupDocBuilder . block ( DEPRECATED_OPERATION , MarkupBlockStyle . EXAMPLE , null , MarkupAdmonition . CAUTION ) ; } }
Builds a warning if method is deprecated .