// Copyright (c) Facebook, Inc. and its affiliates.

// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package com.facebook.react.module.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import com.facebook.react.bridge.NativeModule;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.SOURCE;

/**
 * Annotates a function that returns a list of ModuleSpecs from which we get a list of NativeModules
 * to create ReactModuleInfos from.
 */
@Retention(SOURCE)
@Target(TYPE)
public @interface ReactModuleList {

  /**
   * The Native modules in this list should be annotated with {@link ReactModule}.
   * @return List of Native modules in the package.
   */
  Class<? extends NativeModule>[] nativeModules();

  /**
   * The View Managers in this list should be annotated with {@link ReactModule}.
   * @return List of view manager in the package.
   */
  Class<? extends NativeModule>[] viewManagers() default {};
}

@@ -874,213 +874,7 @@
 s();
-%0A%0A  /**%0A   * The View Managers in this list should be annotated with %7B@link ReactModule%7D.%0A   * @return List of view manager in the package.%0A   */%0A  Class%3C? extends NativeModule%3E%5B%5D viewManagers() default %7B%7D;
 %0A%7D%0A

Remove view managers from @ReactModuleList