/*
   D-Bus Java Implementation
   Copyright (c) 2019 Technolution BV 

   This program is free software; you can redistribute it and/or modify it
   under the terms of either the GNU Lesser General Public License Version 2 or the
   Academic Free Licence Version 2.1.

   Full licence texts are included in the LICENSE file with this program.
*/

package org.freedesktop.dbus.test.helper.structs;

import org.freedesktop.dbus.Struct;
import org.freedesktop.dbus.annotations.Position;
public final class IntStruct extends Struct {
    
	@Position(0)
    private final int  value1;
    
    @Position(1)
    private final int  value2;

	public IntStruct(int value1, int value2) {
		this.value1 = value1;
		this.value2 = value2;
	}

	public int getValue1() {
		return value1;
	}

	public int getValue2() {
		return value2;
	}
    
}
@@ -561,25 +561,24 @@
 e final int 
- 
 value1;%0A    
@@ -617,17 +617,16 @@
 nal int 
- 
 value2;%0A
@@ -815,14 +815,99 @@
 ue2;%0A%09%7D%0A
-    
+%09%0A%09public String toSimpleString() %7B%0A%09%09return String.format(%22(%25s,%25s)%22, value1, value2);%0A%09%7D
 %0A%7D

improve intstruct