fix annotations which were broken in case there was no space after anota...

...tion and new line character.
In previous form proper hooks just weren't called and methods weren't hided.