Class ArrayIsStoredDirectlyRule

  • All Implemented Interfaces:
    JavaParserVisitor, ImmutableLanguage, PropertySource, Rule

    public class ArrayIsStoredDirectlyRule
    extends AbstractSunSecureRule
    If a method or constructor receives an array as an argument, the array should be cloned instead of directly stored. This prevents future changes from the user from affecting the original array.
    Since:
    Created on Jan 17, 2005
    Author:
    mgriffa