This is part of the error code.
Sell::getClient.name
You can create a link to a (static or non-static) method of an arbitrary object of a certain type. A reference to the method of getClientany type object is Sellas follows:
Sell::getClient
But method references are not objects and have no members to access. With this code, you are trying to access a member variable of a link (and cannot)
Sell::getClient.name
, , . - , :
Sell::getClient::getName
@mlk:
x -> x.getClient().nameSell::getClientName ( )