Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this works with Kotlin KAPT? #49

Open
shuufi opened this issue Oct 4, 2016 · 0 comments
Open

Does this works with Kotlin KAPT? #49

shuufi opened this issue Oct 4, 2016 · 0 comments

Comments

@shuufi
Copy link

shuufi commented Oct 4, 2016

Trying to implement this using Kotlin Annotation Processor. The issue I can across was that the method defined in the Store interface was not implemented by the annotation tool.

Example

@Store(GuardJavaReducer.class)
public interface AppStoreJava extends BaseStore
{
    List<Guard> getGuards();

    Observable<List<Guard>> observeGuards();
}

Generated code

public final class DroiduxAppStoreJava extends BaseObservable implements AppStoreJava 
{
  @Override
  public List<Guard> getGuards() {
  }

  @Override
  public Observable<List<Guard>> observeGuards() {
  }
}

Both implementations of getGuards and observeGuards did not provide return statement. So, does this library works with Kotlin KAPT or I'm missing out something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant