You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (Methodmethod : this.containingClass.getMethods()) {
26
+
if (method.getName().equals(descriptor.getMethodName())) {
27
+
this.overloadResolver.addCandidate(method);
28
+
}
29
+
}
30
+
31
+
if (!this.overloadResolver.hasCandidates()) {
32
+
thrownewNoSuchMethodException("There are no methods named \"" + descriptor.getName() + "\" in class \"" + descriptor.getFullClassName() + "\"");
33
+
}
34
+
35
+
if (this.overloadResolver.hasMultipleCandidates()) {
36
+
thrownewUnsupportedOperationException("Found more than one function with method name \"" + descriptor.getName() + "\" in class \"" + descriptor.getFullClassName() + "\"");
37
+
}
38
+
39
+
this.bindingDefinitions = newHashMap<>();
40
+
41
+
for (Map.Entry<String, BindingInfo> entry : bindingInfos.entrySet()) {
0 commit comments