protected void registerKnownJdkImmutableClasses ( ) { registerImmutable ( String . class ) ; registerImmutable ( Integer . class ) ; registerImmutable ( Long . class ) ; registerImmutable ( Boolean . class ) ; registerImmutable ( Class . class ) ; registerImmutable ( Float . class ) ; registerImmutable ( Double . class ) ; registerImmutable ( Character . class ) ; registerImmutable ( Byte . class ) ; registerImmutable ( Short . class ) ; registerImmutable ( Void . class ) ; registerImmutable ( BigDecimal . class ) ; registerImmutable ( BigInteger . class ) ; registerImmutable ( URI . class ) ; registerImmutable ( URL . class ) ; registerImmutable ( UUID . class ) ; registerImmutable ( Pattern . class ) ; }
registers some known JDK immutable classes . Override this to register your own list of jdk s immutable classes