diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2020-04-04 22:58:52 +0200 |
---|---|---|
committer | Rawi01 <Rawi01@users.noreply.github.com> | 2020-04-04 22:58:52 +0200 |
commit | 39b733ab805f541a0834fb9cc501dc8b90567aa9 (patch) | |
tree | f879902ecdd8ffefe14126fdc79e41315c2171bc /src | |
parent | 7242b702700d0226b161eee33d4a630ccae7044d (diff) | |
download | lombok-39b733ab805f541a0834fb9cc501dc8b90567aa9.tar.gz lombok-39b733ab805f541a0834fb9cc501dc8b90567aa9.tar.bz2 lombok-39b733ab805f541a0834fb9cc501dc8b90567aa9.zip |
Stop trying to resolve methods with broken arguments
Diffstat (limited to 'src')
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/PatchExtensionMethod.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchExtensionMethod.java b/src/eclipseAgent/lombok/eclipse/agent/PatchExtensionMethod.java index 964efada..c4b0153c 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/PatchExtensionMethod.java +++ b/src/eclipseAgent/lombok/eclipse/agent/PatchExtensionMethod.java @@ -252,6 +252,8 @@ public class PatchExtensionMethod { Binding binding = ((NameReference)methodCall.receiver).binding; if (binding instanceof TypeBinding) skip = true; } + // It's impossible to resolve the right method without types + if (methodCall.argumentsHaveErrors) skip = true; if (!skip) for (Extension extension : extensions) { if (!extension.suppressBaseMethods && !(methodCall.binding instanceof ProblemMethodBinding)) continue; |