IDEA-166363 Support LocalVariableTypeTable attribute
This commit is contained in:
BIN
testData/classes/pkg/TestLocalsSignature.class
Normal file
BIN
testData/classes/pkg/TestLocalsSignature.class
Normal file
Binary file not shown.
25
testData/results/TestLocalsSignature.dec
Normal file
25
testData/results/TestLocalsSignature.dec
Normal file
@@ -0,0 +1,25 @@
|
||||
package pkg;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class TestLocalsSignature {
|
||||
public static void main(String[] args) {
|
||||
List<String> s = new ArrayList();// 24
|
||||
s.add("xxx");// 25
|
||||
}// 26
|
||||
}
|
||||
|
||||
class 'pkg/TestLocalsSignature' {
|
||||
method 'main ([Ljava/lang/String;)V' {
|
||||
7 7
|
||||
9 8
|
||||
b 8
|
||||
11 9
|
||||
}
|
||||
}
|
||||
|
||||
Lines mapping:
|
||||
24 <-> 8
|
||||
25 <-> 9
|
||||
26 <-> 10
|
||||
27
testData/src/pkg/TestLocalsSignature.java
Normal file
27
testData/src/pkg/TestLocalsSignature.java
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class TestLocalsSignature {
|
||||
public static void main(String[] args) {
|
||||
List<String> s = new ArrayList<String>();
|
||||
s.add("xxx");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user