Lightweight analysis tool for detecting mutability in Java classes