docs: @SuppressWarnings( "unchecked" )
      protected void processModifiersOfTypeDeclaration( AbstractTypeDeclaration typeDeclaration,
                                                        TypeMetadata classMetadata ) {
          List<IExtendedModifier> modifiers = typeDeclaration.modifiers();
  
          for (IExtendedModifier extendedModifier : modifiers) {
              if (extendedModifier.isAnnotation()) {
                  if (extendedModifier instanceof MarkerAnnotation) {
                      MarkerAnnotation marker = (MarkerAnnotation)extendedModifier;
                      classMetadata.getAnnotations().add(AnnotationMetadata.markerAnnotation(JavaMetadataUtil.getName(marker.getTypeName())));
                  }
              } else {
                  Modifier modifier = (Modifier)extendedModifier;
                  classMetadata.getModifiers().add(new ModifierMetadata(modifier.getKeyword().toString()));
              }
          }
      }