mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-14 23:09:22 +00:00
ignore null symbol methods
This commit is contained in:
parent
9e693c409a
commit
197108f96c
@ -406,7 +406,7 @@ public class OverloadScanner extends AbstractTreeScanner {
|
||||
}
|
||||
|
||||
private void processMethod(JCClassDecl enclosingClassdecl, JCMethodDecl method) {
|
||||
if (context.hasAnnotationType(method.sym, JSweetConfig.ANNOTATION_ERASED, JSweetConfig.ANNOTATION_AMBIENT)) {
|
||||
if (method.sym == null || context.hasAnnotationType(method.sym, JSweetConfig.ANNOTATION_ERASED, JSweetConfig.ANNOTATION_AMBIENT)) {
|
||||
return;
|
||||
}
|
||||
Overload overload = context.getOrCreateOverload(enclosingClassdecl.sym, method.sym);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user