A Brisbane man is accused of breaking a Bunnings worker's jaw after hearing a woman screaming and thinking he had found her attacker, a court has heard.

But Alex John Beeston denies assaulting Edward Haynes at a bus stop in Capalaba on April 20, 2018.

Mr Haynes told Brisbane District Court today he was on his way home from work at 9.40pm when Mr Beeston confronted him and grabbed him around the neck.

"I was trying to get his arm off me. I couldn't breathe. He was choking me on the ground," Mr Haynes said.

"I was getting up slowly when he hit me. It knocked me down."

The trial heard Mr Beeston, 32, first confronted Mr Haynes after hearing a woman screaming and demanded his name and ID.

Edward Haynes is seen outside the Brisbane District Court in Brisbane. (AAP)

Mr Haynes said his name was Eddie and handed Mr Beeston his drivers licence.

Crown prosecutor Douglas Wilson says Mr Beeston then accused Mr Haynes of giving a fake name because the name on the licence was Edward.

Mr Haynes told the court he was nervous after presenting his particulars and ran away but fell over.

As he was trying to get up, he felt an elbow grip around his neck in a choke hold.

The court heard that was when Mr Beeston pinned him to the ground and punched him twice because he suspected him of assaulting a woman.

Mr Haynes was taken by ambulance to hospital and later had an operation to repair his jaw with a metal plate.

The Crown alleges the hit broke Mr Haynes' jaw, constituting grievous bodily harm.

But Beeston suggested through his barrister that a woman who was with him had kicked Mr Haynes in the head.

Mr Haynes told the court he didn't remember this happening to him.

The trial continues.