check that a final class with a final private member that is modifyable by a setter is properly detected . concode_field_sep int x concode_field_sep void testFinalProtectedMember concode_elem_sep void testNonFinalClass concode_elem_sep void setX concode_elem_sep void testNotFinalPrivateMember
void function ( ) { boolean loc0 = false ; try { assertThatClassIsImmutable ( ClassWithSetter . class ) ; } catch ( AssertionError loc1 ) { assertThat ( loc1 . getMessage ( ) , containsString ( "srini_string" ) ) ; loc0 = true ; } assertThat ( loc0 , is ( true ) ) ; }