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

Support Annotations in generated code #1

Closed
ZacSweers opened this issue May 14, 2017 · 2 comments
Closed

Support Annotations in generated code #1

ZacSweers opened this issue May 14, 2017 · 2 comments
Assignees

Comments

@ZacSweers
Copy link
Owner

From @hzsweers on September 1, 2015 21:54

Hacked at this for awhile and can't for the life of me get it to work.

Adding a dependency with a local maven URL (as per the docs' suggestion) doesn't work because it still can't find it.

Adding the jar works, but doesn't get included in the packaging for some reason.

If we do add this though, we would want the following:

  • All put() methods would have @CheckResult and @NonNull annotations
  • All rx() methods would have @CheckResult and @NonNull annotations
  • All put(String) methods would have @Nullable annotations on the parameter
    • This applies to future object types too

Copied from original issue: Flipboard#1

@ZacSweers ZacSweers self-assigned this May 14, 2017
@ZacSweers
Copy link
Owner Author

Possibly related issue: JakeWharton/butterknife#362

@ZacSweers
Copy link
Owner Author

I know how to do this now, will work on it when I'm back from vacation

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

No branches or pull requests

1 participant