{
IDefinition def = binding.getDefinition();
if (!(def instanceof AccessorDefinition && currentScope.getMethodBodySemanticChecker().canGetterBeInlined((AccessorDefinition)def)))
return false;
AccessorDefinition accessorDefinition = (AccessorDefinition)def;
if (accessorDefinition instanceof SetterDefinition)
accessorDefinition = accessorDefinition.resolveCorrespondingAccessor(currentScope.getProject());
assert (accessorDefinition != null) : "generateInlineGetterAccess() called with no getter definition";
FunctionNode functionNode = (FunctionNode)accessorDefinition.getFunctionNode();
return inlineFunction(accessorDefinition, functionNode, result, isQualified);
}