source: java2python/jackson-t/src/test/endnego3/testcode/EndNegotiation3.java@ 1310

Last change on this file since 1310 was 1241, checked in by wouter, 5 weeks ago

#390 fix test code

File size: 598 bytes
RevLine 
[1237]1package testcode;
2
3import org.eclipse.jdt.annotation.NonNull;
4
5import com.fasterxml.jackson.annotation.JsonValue;
6
7/**
8 * Indicates that a party turns away from the negotiation and.
9 *
10 */
11public class EndNegotiation3 {
12
[1241]13 public EndNegotiation3(int n) {
14
15 }
16
[1237]17 @JsonValue
18 /**
[1241]19 * This is a comment to test #390. This javadoc can not be attached to
20 * the @NonNull
[1237]21 *
22 * @param n
23 */
[1241]24 public @NonNull Integer getN() {
25 return 1;
[1237]26 }
27
28 @Override
29 public @NonNull String toString() {
30 return "EndNegotiation[" + "]";
31 }
32
33 public static void main(String[] args) {
[1241]34 new EndNegotiation3(1);
[1237]35 }
36
37}
Note: See TracBrowser for help on using the repository browser.