Incompatible return types

Issue #170 resolved
florian_kuebler
created an issue

The methods resolveInterfaceMethodReference and resolveClassMethodReference on a project, have the return types Option[Method] and Result[Method], which is unintuitive.

For example i would like do do s.th. like:

val m = if (call.isInterface)
    project.resolveInterfaceMethodReference(receiverObjectType, call.name, call.descriptor)
  else
    project.resolveClassMethodReference(receiverObjectType, call.name,call.descriptor)

Comments (2)

  1. Log in to comment