Replaced listings.xml by @before annotated method