You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 24, 2025. It is now read-only.
Madeline Kahn edited this page Mar 11, 2024
·
3 revisions
Name: "informationHiding"
Default: Enabled
Description
For a set of classes, the Check iterates through each class and searches for fields that violate information hiding. First, we iterate through every field in a class and determines if the field is public, or it contains a public "get" or "set" method. If either is found, the field is added a map that links classes to its fields that violate information hiding.
For each entry in the map, a message is created dictating which class contains a list of methods that violate information hiding. The Check will return a set of messages for each class.