Separate findMethods from BaseJavaModule

Reviewed By: javache

Differential Revision: D4795087

fbshipit-source-id: 6d135a409d463940a5a0aabbc85682ed61420ae3
This commit is contained in:
Kathy Gray
2017-04-10 03:00:59 -07:00
committed by Facebook Github Bot
parent 8591d8ae71
commit 678679e009
6 changed files with 471 additions and 483 deletions
@@ -9,6 +9,9 @@
package com.facebook.react.bridge;
import javax.annotation.Nullable;
import java.lang.reflect.Method;
import java.util.Map;
/**
@@ -30,11 +33,6 @@ public interface NativeModule {
*/
String getName();
/**
* @return methods callable from JS on this module
*/
Map<String, NativeMethod> getMethods();
/**
* This is called at the end of {@link CatalystApplicationFragment#createCatalystInstance()}
* after the CatalystInstance has been created, in order to initialize NativeModules that require