1 | package test.inner; |
---|---|
2 | |
3 | import java.util.HashMap; |
4 | import java.util.Map; |
5 | |
6 | import codethinker.utils.Log; |
7 | import test.subtest.enumtest; |
8 | import test.subtest.subtesta; |
9 | //import test.subtestb.*; |
10 | |
11 | public class test { |
12 | // line comment |
13 | public int intvalue = 100; // end comment |
14 | |
15 | public String getString(int tt, subtesta xxx) { |
16 | enumtest.enumtesta tag = enumtest.enumtesta.ASTNodeDecl; |
17 | Log.err(tag.toString()); |
18 | String ttt = xxx.mydata; |
19 | xxx.getData(); |
20 | /* |
21 | * block comment |
22 | * |
23 | * |
24 | * |
25 | * |
26 | * |
27 | */ |
28 | int abc /* insert comment */ = 0; |
29 | String edg = ttt; |
30 | subtesta xyz, bb = new subtesta(); |
31 | Map<String, String> _astTagMap = new HashMap<String, String>(); |
32 | |
33 | if (abc == 100) { |
34 | int egf = 0; |
35 | System.out.println(egf); |
36 | _astTagMap.put("test", "value"); |
37 | egf = tt; |
38 | edg = xxx.getData(); |
39 | intvalue = egf; |
40 | |
41 | test at = new test(); |
42 | at.getBoolean(); |
43 | } |
44 | |
45 | return "hello" + getInt() + 'c' + "qqqqq" + 1000; |
46 | } |
47 | |
48 | public int getInt() { |
49 | return 100; |
50 | } |
51 | |
52 | public boolean getBoolean() { |
53 | return true; |
54 | } |
55 | } |
56 |
Members