Provide public access for every field used in the toString method 

es.uniovi.reflection.analyses.bloch.3.10s


This rule detects classes that do not provide public getters to access fields which are used in expressions returned by the toString method.

Computational Reflection Research Group
12-03-2025 17:14
Bad Practice
Type Declaration