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

Annotation processor expects full At target signature #8

Open
ChloeDawn opened this issue Feb 15, 2019 · 0 comments
Open

Annotation processor expects full At target signature #8

ChloeDawn opened this issue Feb 15, 2019 · 0 comments

Comments

@ChloeDawn
Copy link

ChloeDawn commented Feb 15, 2019

Although the signature can be unqualified at runtime, compilation fails here for At targets with ommited owners and signatures during refmap generation. Related: SpongePowered#300 (comment)

Current version: 0.7.11

Is it possible to resolve this?

if (!targetMember.isFullyQualified()) {
String missing = targetMember.owner == null ? (targetMember.desc == null ? "owner and signature" : "owner") : "signature";
this.ap.printMessage(Kind.ERROR, subject + " is not fully qualified, missing " + missing, elem.getElement(), errorsOn);
return;
}

Cross-referenced: SpongePowered#303

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