Code review comment: Usual way to line break is to break before the dot. Same goes for 5815

Code under review:
private void checkActionInvocation(BLangInvocation.BLangActionInvocation aInv, BObjectType expType) {

        if (aInv.expr.getKind() == NodeKind.SIMPLE_VARIABLE_REF &&
                (((((BLangSimpleVarRef) aInv.expr).symbol.tag & SymTag.ENDPOINT) !=
                        SymTag.ENDPOINT) && !aInv.async)) {
            dlog.error(aInv.pos, DiagnosticErrorCode.INVALID_ACTION_INVOCATION, aInv.expr.getBType());
            this.resultType = symTable.semanticError;
            aInv.symbol = symTable.notFoundSymbol;
            return;
        }

        Name remoteMethodQName = names.
                fromString(Symbols.getAttachedFuncSymbolName(expType.tsymbol.name.value, aInv.name.value));
        Name actionName = names.fromIdNode(aInv.name);
        BSymbol remoteFuncSymbol = symResolver.
                resolveObjectMethod(aInv.pos, env, remoteMethodQName, (BObjectTypeSymbol) expType.tsymbol);

        if (remoteFuncSymbol == symTable.notFoundSymbol) {
            BSymbol invocableField = symResolver.resolveInvocableObjectField(
                    aInv.pos, env, names.fromIdNode(aInv.name), (BObjectTypeSymbol) expType.tsymbol);

            if (invocableField != symTable.notFoundSymbol && invocableField.kind == SymbolKind.FUNCTION) {
                remoteFuncSymbol = invocableField;
                aInv.functionPointerInvocation = true;
            }
        }

        if (remoteFuncSymbol == symTable.notFoundSymbol && !checkLangLibMethodInvocationExpr(aInv, expType)) {
            dlog.error(aInv.name.pos, DiagnosticErrorCode.UNDEFINED_METHOD_IN_OBJECT, aInv.name.value, expType);
            resultType = symTable.semanticError;
            return;
        }

        if (!Symbols.isFlagOn(remoteFuncSymbol.flags, Flags.REMOTE) && !aInv.async) {
            dlog.error(aInv.pos, DiagnosticErrorCode.INVALID_METHOD_INVOCATION_SYNTAX, actionName);
            this.resultType = symTable.semanticError;
            return;
        }
        if (Symbols.isFlagOn(remoteFuncSymbol.flags, Flags.REMOTE) &&
                Symbols.isFlagOn(expType.flags, Flags.CLIENT) &&
                types.isNeverTypeOrStructureTypeWithARequiredNeverMember
                        ((BType) ((InvokableSymbol) remoteFuncSymbol).getReturnType())) {
            dlog.error(aInv.pos, DiagnosticErrorCode.INVALID_CLIENT_REMOTE_METHOD_CALL);
        }

        aInv.symbol = remoteFuncSymbol;
        checkInvocationParamAndReturnType(aInv);
    }

Line commented on: Name remoteMethodQName = names.

Revised code:
private void checkActionInvocation(BLangInvocation.BLangActionInvocation aInv, BObjectType expType) {

        if (checkInvalidActionInvocation(aInv)) {
            dlog.error(aInv.pos, DiagnosticErrorCode.INVALID_ACTION_INVOCATION, aInv.expr.getBType());
            this.resultType = symTable.semanticError;
            aInv.symbol = symTable.notFoundSymbol;
            return;
        }

        Name remoteMethodQName = names
                .fromString(Symbols.getAttachedFuncSymbolName(expType.tsymbol.name.value, aInv.name.value));
        Name actionName = names.fromIdNode(aInv.name);
        BSymbol remoteFuncSymbol = symResolver
                .resolveObjectMethod(aInv.pos, env, remoteMethodQName, (BObjectTypeSymbol) expType.tsymbol);

        if (remoteFuncSymbol == symTable.notFoundSymbol) {
            BSymbol invocableField = symResolver.resolveInvocableObjectField(
                    aInv.pos, env, names.fromIdNode(aInv.name), (BObjectTypeSymbol) expType.tsymbol);

            if (invocableField != symTable.notFoundSymbol && invocableField.kind == SymbolKind.FUNCTION) {
                remoteFuncSymbol = invocableField;
                aInv.functionPointerInvocation = true;
            }
        }

        if (remoteFuncSymbol == symTable.notFoundSymbol && !checkLangLibMethodInvocationExpr(aInv, expType)) {
            dlog.error(aInv.name.pos, DiagnosticErrorCode.UNDEFINED_METHOD_IN_OBJECT, aInv.name.value, expType);
            resultType = symTable.semanticError;
            return;
        }

        if (!Symbols.isFlagOn(remoteFuncSymbol.flags, Flags.REMOTE) && !aInv.async) {
            dlog.error(aInv.pos, DiagnosticErrorCode.INVALID_METHOD_INVOCATION_SYNTAX, actionName);
            this.resultType = symTable.semanticError;
            return;
        }
        if (Symbols.isFlagOn(remoteFuncSymbol.flags, Flags.REMOTE) &&
                Symbols.isFlagOn(expType.flags, Flags.CLIENT) &&
                types.isNeverTypeOrStructureTypeWithARequiredNeverMember
                        ((BType) ((InvokableSymbol) remoteFuncSymbol).getReturnType())) {
            dlog.error(aInv.pos, DiagnosticErrorCode.INVALID_CLIENT_REMOTE_METHOD_CALL);
        }

        aInv.symbol = remoteFuncSymbol;
        checkInvocationParamAndReturnType(aInv);
    }