@@ -0,0 +1,1814 @@
+/*%0A * Mutability Detector%0A * %0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may not use this file except in compliance with%0A * the License.%0A * %0A * Further licensing information for this project can be found in license/LICENSE.txt%0A */%0A%0Apackage org.mutabilitydetector.benchmarks.settermethod;%0A%0A@SuppressWarnings(%22unused%22)%0Apublic class SetsFieldsOfDifferentTypes %7B%0A%0A%09public static class SetsReference %7B%0A%09%09private Object field;%0A%0A%09%09public void setField(Object field) %7B%0A%09%09%09this.field = field;%0A%09%09%7D%0A%09%7D%0A%0A%09public static class SetsInt %7B%0A%09%09private int field;%0A%0A%09%09public void setField(int field) %7B%0A%09%09%09this.field = field;%0A%09%09%7D%0A%09%7D%0A%0A%09public static class SetsDouble %7B%0A%09%09private double field;%0A%0A%09%09public void setField(double field) %7B%0A%09%09%09this.field = field;%0A%09%09%7D%0A%09%7D%0A%09%0A%09public static class SetsFloat %7B%0A%09%09private float field;%0A%0A%09%09public void setField(float field) %7B%0A%09%09%09this.field = field;%0A%09%09%7D%0A%09%7D%0A%0A%09public static class SetsShort %7B%0A%09%09private short field;%0A%0A%09%09public void setField(short field) %7B%0A%09%09%09this.field = field;%0A%09%09%7D%0A%09%7D%0A%0A%09public static class SetsByte %7B%0A%09%09private byte field;%0A%0A%09%09public void setField(byte field) %7B%0A%09%09%09this.field = field;%0A%09%09%7D%0A%09%7D%0A%09%0A%09public static class SetsChar %7B%0A%09%09private char field;%0A%0A%09%09public void setField(char field) %7B%0A%09%09%09this.field = field;%0A%09%09%7D%0A%09%7D%0A%0A%09public static class SetsBoolean %7B%0A%09%09private boolean field;%0A%0A%09%09public void setField(boolean field) %7B%0A%09%09%09this.field = field;%0A%09%09%7D%0A%09%7D%0A%0A%09public static class SetsLong %7B%0A%09%09private long field;%0A%0A%09%09public void setField(long field) %7B%0A%09%09%09this.field = field;%0A%09%09%7D;%0A%09%7D%0A%09%0A%09public static class SetsObjectArray %7B%0A%09%09private Object%5B%5D field;%0A%0A%09%09public void setField(Object%5B%5D field) %7B%0A%09%09%09this.field = field;%0A%09%09%7D;%0A%09%7D%0A%0A%09public static class SetsObjectArrayArray %7B%0A%09%09private Object%5B%5D%5B%5D field;%0A%0A%09%09public void setField(Object%5B%5D%5B%5D field) %7B%0A%09%09%09this.field = field;%0A%09%09%7D;%0A%09%7D%0A%7D%0A

Add benchmark classes which set fields of all types - need to handle reference and certain primitive types differently I think.