introduce final for some attributes and methods (PMD suggestions)