Skip to content

Commit

Permalink
acl
Browse files Browse the repository at this point in the history
  • Loading branch information
YTG1234 committed Nov 1, 2020
1 parent eb891a9 commit 22617d6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ public void visitToken(DetailAST ast) {
modifier.findFirstToken(TokenTypes.IDENT).getText().equals("ModifyArgs")) {
foundMixinMethod = true;
log(ast.getLineNo(), "Found Mixin injection");
} else if (modifier.findFirstToken(TokenTypes.IDENT).getText().equals("FromModule")) {
}
if (modifier.findFirstToken(TokenTypes.IDENT).getText().equals("FromModule")) {
foundFromModule = true;
log(ast.getLineNo(), "Found FromModule");
}
modifier = modifiers.getNextSibling();
modifier = modifier.getNextSibling();
}
if (foundMixinMethod && !foundFromModule) {
log(ast.getLineNo(), "All Mixin injections have to have a @FromModule annotation!");
Expand Down

0 comments on commit 22617d6

Please sign in to comment.