parent
0488e1b937
commit
ae2c64a157
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,115 @@ |
||||
package pkg; |
||||
|
||||
public class TestInnerLocalPkg { |
||||
public static void testStaticMethod() { |
||||
class Inner { |
||||
final String x; |
||||
|
||||
public Inner(String var1) { |
||||
this.x = var1;// 24 |
||||
} |
||||
} |
||||
|
||||
new Inner("test");// 27 |
||||
new TestInnerLocalPkg.Inner1Static("test");// 28 |
||||
new TestInnerLocalPkg.Inner1Static.Inner2Static("test");// 29 |
||||
} |
||||
|
||||
public void testMethod() { |
||||
class Inner { |
||||
final String x; |
||||
|
||||
public Inner(String var2) { |
||||
this.x = var2;// 36 |
||||
} |
||||
} |
||||
|
||||
new Inner("test");// 39 |
||||
new TestInnerLocalPkg.Inner1Static("test");// 40 |
||||
new TestInnerLocalPkg.Inner1("test");// 41 |
||||
new TestInnerLocalPkg.Inner1Static.Inner2Static("test");// 42 |
||||
} |
||||
|
||||
static class Inner1Static { |
||||
final String x; |
||||
|
||||
public Inner1Static(String var1) { |
||||
this.x = var1;// 55 |
||||
} |
||||
|
||||
public static class Inner2Static { |
||||
final String x; |
||||
|
||||
public Inner2Static(String var1) { |
||||
this.x = var1;// 61 |
||||
} |
||||
} |
||||
} |
||||
|
||||
class Inner1 { |
||||
final String x; |
||||
|
||||
public Inner1(String var2) { |
||||
this.x = var2;// 48 |
||||
} |
||||
} |
||||
} |
||||
|
||||
class 'pkg/TestInnerLocalPkg$1Inner' { |
||||
method '<init> (Ljava/lang/String;)V' { |
||||
6 8 |
||||
} |
||||
} |
||||
|
||||
class 'pkg/TestInnerLocalPkg' { |
||||
method 'testStaticMethod ()V' { |
||||
4 12 |
||||
e 13 |
||||
18 14 |
||||
} |
||||
|
||||
method 'testMethod ()V' { |
||||
5 26 |
||||
f 27 |
||||
1a 28 |
||||
24 29 |
||||
} |
||||
} |
||||
|
||||
class 'pkg/TestInnerLocalPkg$2Inner' { |
||||
method '<init> (Lpkg/TestInnerLocalPkg;Ljava/lang/String;)V' { |
||||
b 22 |
||||
} |
||||
} |
||||
|
||||
class 'pkg/TestInnerLocalPkg$Inner1Static' { |
||||
method '<init> (Ljava/lang/String;)V' { |
||||
6 36 |
||||
} |
||||
} |
||||
|
||||
class 'pkg/TestInnerLocalPkg$Inner1Static$Inner2Static' { |
||||
method '<init> (Ljava/lang/String;)V' { |
||||
6 43 |
||||
} |
||||
} |
||||
|
||||
class 'pkg/TestInnerLocalPkg$Inner1' { |
||||
method '<init> (Lpkg/TestInnerLocalPkg;Ljava/lang/String;)V' { |
||||
b 52 |
||||
} |
||||
} |
||||
|
||||
Lines mapping: |
||||
24 <-> 9 |
||||
27 <-> 13 |
||||
28 <-> 14 |
||||
29 <-> 15 |
||||
36 <-> 23 |
||||
39 <-> 27 |
||||
40 <-> 28 |
||||
41 <-> 29 |
||||
42 <-> 30 |
||||
48 <-> 53 |
||||
55 <-> 37 |
||||
61 <-> 44 |
@ -0,0 +1,65 @@ |
||||
/* |
||||
* Copyright 2000-2014 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 TestInnerLocalPkg { |
||||
public static void testStaticMethod() { |
||||
class Inner { |
||||
final String x; |
||||
public Inner(String x) { |
||||
this.x = x; |
||||
} |
||||
} |
||||
new Inner("test"); |
||||
new Inner1Static("test"); |
||||
new Inner1Static.Inner2Static("test"); |
||||
} |
||||
|
||||
public void testMethod() { |
||||
class Inner { |
||||
final String x; |
||||
public Inner(String x) { |
||||
this.x = x; |
||||
} |
||||
} |
||||
new Inner("test"); |
||||
new Inner1Static("test"); |
||||
new Inner1("test"); |
||||
new Inner1Static.Inner2Static("test"); |
||||
} |
||||
|
||||
class Inner1 { |
||||
final String x; |
||||
public Inner1(String x) { |
||||
this.x = x; |
||||
} |
||||
} |
||||
|
||||
static class Inner1Static { |
||||
final String x; |
||||
public Inner1Static(String x) { |
||||
this.x = x; |
||||
} |
||||
|
||||
public static class Inner2Static { |
||||
final String x; |
||||
public Inner2Static(String x) { |
||||
this.x = x; |
||||
} |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue