1 /*************************************************************************************** 2 * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. * 3 * http://aspectwerkz.codehaus.org * 4 * ---------------------------------------------------------------------------------- * 5 * The software in this package is published under the terms of the LGPL license * 6 * a copy of which has been included with this distribution in the license.txt file. * 7 **************************************************************************************/ 8 package test.fieldsetbug; 9 10 11 public class TargetClass { 12 13 public int publicIntField; 14 public char publicCharField; 15 public long publicLongField; 16 public double publicDoubleField; 17 18 public TargetClass() { 19 publicIntField = 1; 20 publicCharField = 'a'; 21 publicLongField = 1L; 22 publicDoubleField = 1D; 23 } 24 25 public TargetClass(int value) { 26 publicIntField = value; 27 } 28 29 public TargetClass(char value) { 30 publicCharField = value; 31 } 32 33 public TargetClass(long value) { 34 publicLongField = value; 35 } 36 37 public TargetClass(double value) { 38 publicDoubleField = value; 39 } 40 }