move @ReactMethod to the codegen'ed class so impl class don't need it anymore

Reviewed By: javache

Differential Revision: D5074121

fbshipit-source-id: 1b23a5d26ffe27c5093677ae7ecca424b232c8aa
This commit is contained in:
Kevin Gozali
2017-05-22 11:43:15 -07:00
committed by Facebook Github Bot
parent 0040b02469
commit 3d3f74dc72
2 changed files with 32 additions and 1 deletions
@@ -0,0 +1,21 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com.facebook.react.bridge;
import com.facebook.proguard.annotations.DoNotStrip;
/**
* An interface to be implemented by react modules that extends from the
* generated spec class.
* This is experimental.
*/
@DoNotStrip
public interface ReactModuleWithSpec {
}