public static void addDevelopmentAttributes ( FeatureDescriptor descriptor , FaceletContext ctx , TagAttribute displayName , TagAttribute shortDescription , TagAttribute expert , TagAttribute hidden , TagAttribute preferred ) { if ( displayName != null ) { descriptor . setDisplayName ( displayName . getValue ( ctx ) ) ; } if ( shortDescription != null ) { descriptor . setShortDescription ( shortDescription . getValue ( ctx ) ) ; } if ( expert != null ) { descriptor . setExpert ( expert . getBoolean ( ctx ) ) ; } if ( hidden != null ) { descriptor . setHidden ( hidden . getBoolean ( ctx ) ) ; } if ( preferred != null ) { descriptor . setPreferred ( preferred . getBoolean ( ctx ) ) ; } }
Applies the displayName shortDescription expert hidden and preferred attributes to the BeanDescriptor .