protected void _format ( SarlSkill skill , IFormattableDocument document ) { formatAnnotations ( skill , document , XbaseFormatterPreferenceKeys . newLineAfterClassAnnotations ) ; formatModifiers ( skill , document ) ; final ISemanticRegionsFinder regionFor = this . textRegionExtensions . regionFor ( skill ) ; document . append ( regionFor . keyword ( this . keywords . getSkillKeyword ( ) ) , ONE_SPACE ) ; document . surround ( regionFor . keyword ( this . keywords . getExtendsKeyword ( ) ) , ONE_SPACE ) ; document . format ( skill . getExtends ( ) ) ; document . surround ( regionFor . keyword ( this . keywords . getImplementsKeyword ( ) ) , ONE_SPACE ) ; formatCommaSeparatedList ( skill . getImplements ( ) , document ) ; formatBody ( skill , document ) ; }
Format the given SARL skill .