public
static
Collection fields. Often used
to store collections of constant values, these fields nonetheless represent a security
hazard, as their contents may be modified, even if the field is declared as final
.
Example:
public static final List<String> EVENTS = new ArrayList<>();
Use the table below to specify methods returning unmodifiable collections.
public
static
Collection fields initialized with these methods will not be reported.