Encapsulation
- 'public' field
Reports public fields.
- 'public' nested class
Reports public nested classes.
- Accessing a non-public field of another object
Reports accesses to private or protected fields of another object.
- Assignment or return of field with mutable type
Reports return of, or assignment from a method parameter to an array or a mutable type like Collection, Date, Map, Calendar, etc.
- Package-visible field
Reports fields that are declared without any access modifier (also known as package-private).
- Package-visible nested class
Reports nested classes that are declared without any access modifier (also known as package-private).
- Protected field
Reports protected fields.
- Protected nested class
Reports protected nested classes.
Last modified: 11 September 2024