org.mutabilitydetector
Class Configurations

java.lang.Object
  extended by org.mutabilitydetector.Configurations

public class Configurations
extends Object


Field Summary
static Configuration JDK_CONFIGURATION
          Non-exhaustive list of immutable classes from the standard JDK.
static Configuration NO_CONFIGURATION
          Configurations with default settings and no hardcoded results.
static Configuration OUT_OF_THE_BOX_CONFIGURATION
          Configuration with default settings and the standard hardcoded results.
 
Constructor Summary
Configurations()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JDK_CONFIGURATION

public static final Configuration JDK_CONFIGURATION
Non-exhaustive list of immutable classes from the standard JDK.

See Also:
String, Boolean, Byte, Character, Short, Integer, Long, Float, Double, BigDecimal, BigInteger, Class

NO_CONFIGURATION

public static final Configuration NO_CONFIGURATION
Configurations with default settings and no hardcoded results.


OUT_OF_THE_BOX_CONFIGURATION

public static final Configuration OUT_OF_THE_BOX_CONFIGURATION
Configuration with default settings and the standard hardcoded results.

As of version 0.9 the default configuration differs from NO_CONFIGURATION only in that it merges in the hardcoded results from JDK_CONFIGURATION.

It is recommended that this configuration is merged into any custom Configuration, in order to remain consistent with MutabilityAssert.

Since:
0.9
Constructor Detail

Configurations

public Configurations()


Copyright © 2013. All Rights Reserved.