private void emitModifiers ( Set < Modifier > modifiers ) throws IOException { if ( modifiers . isEmpty ( ) ) { return ; } // Use an EnumSet to ensure the proper ordering if ( ! ( modifiers instanceof EnumSet ) ) { modifiers = EnumSet . copyOf ( modifiers ) ; } for ( Modifier modifier : modifiers ) { out . append ( modifier . toString ( ) ) . append ( ' ' ) ; } }
Emits the modifiers to the writer .