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

Generated interfaces can't be referenced in other generated interfaces #6

Open
erikhofer opened this issue May 15, 2017 · 1 comment
Assignees
Labels

Comments

@erikhofer
Copy link
Member

@GenerateInterface class A {}

@GenerateInterface class B {
  void setA(IA a) {}
}

IA is omitted without error in IB (setA has no parameter).

@erikhofer erikhofer self-assigned this May 15, 2017
@erikhofer erikhofer added the bug label May 15, 2017
@erikhofer
Copy link
Member Author

erikhofer commented May 16, 2017

http://stackoverflow.com/questions/43978743/java-annotation-processing-reference-generated-type-in-other-generated-code

Google auto-common fixes the issue by deferring uses of not yet generated types to later rounds. It does, however, not permit circular dependencies.

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

No branches or pull requests

1 participant