Group producer fields and methods with declaring bean classes