parent
45384fb8c5
commit
f53a873116
Binary file not shown.
@ -0,0 +1,38 @@ |
||||
package pkg; |
||||
|
||||
public class TestStringLiterals { |
||||
public static void main(String[] var0) { |
||||
String var1 = "abc\b\t\n\f\r\"'\\def";// 20 |
||||
char[] var2 = new char[]{'\b', '\t', '\n', '\f', '\r', '"', '\'', '\\'};// 21 |
||||
System.out.println(var1);// 22 |
||||
System.out.println(var2);// 23 |
||||
}// 24 |
||||
} |
||||
|
||||
class 'pkg/TestStringLiterals' { |
||||
method 'main ([Ljava/lang/String;)V' { |
||||
0 4 |
||||
2 4 |
||||
9 5 |
||||
e 5 |
||||
13 5 |
||||
18 5 |
||||
1d 5 |
||||
22 5 |
||||
28 5 |
||||
2e 5 |
||||
31 5 |
||||
32 6 |
||||
36 6 |
||||
39 7 |
||||
3d 7 |
||||
40 8 |
||||
} |
||||
} |
||||
|
||||
Lines mapping: |
||||
20 <-> 5 |
||||
21 <-> 6 |
||||
22 <-> 7 |
||||
23 <-> 8 |
||||
24 <-> 9 |
@ -0,0 +1,25 @@ |
||||
/* |
||||
* Copyright 2000-2017 JetBrains s.r.o. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
package pkg; |
||||
|
||||
public class TestStringLiterals { |
||||
public static void main(String[] args) { |
||||
String a = "abc\b\t\n\f\r\"'\\def"; |
||||
char chars[] = {'\b', '\t', '\n', '\f', '\r', '"', '\'', '\\'}; |
||||
System.out.println(a); |
||||
System.out.println(chars); |
||||
} |
||||
} |
Loading…
Reference in new issue