Last change
on this file was 800, checked in by wouter, 6 months ago |
converted javax.annotation to org.eclipse.jdt.annotation because javax is deprecated and no maven substitute available.
|
File size:
512 bytes
|
Line | |
---|
1 | package testcode;
|
---|
2 |
|
---|
3 | import org.eclipse.jdt.annotation.NonNull;
|
---|
4 |
|
---|
5 | /**
|
---|
6 | * Test for translation to python.<br>
|
---|
7 | * Extra line for multiline-test.
|
---|
8 | */
|
---|
9 | public class HelloWorld {
|
---|
10 | // check static
|
---|
11 | @NonNull
|
---|
12 | private static String username = "Jan", lastname = "Coens"; // multivar
|
---|
13 |
|
---|
14 | /**
|
---|
15 | *
|
---|
16 | * @param args the arguments of the call.
|
---|
17 | */
|
---|
18 | static public void main(String[] args) {
|
---|
19 | // simple print
|
---|
20 | System.out.println("Hello " + username + "!");
|
---|
21 | /*
|
---|
22 | * Some block comment to test this type of comment too
|
---|
23 | */
|
---|
24 | }
|
---|
25 |
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.