summaryrefslogtreecommitdiffstats
path: root/tests/new/binaryWarnings/src/app/MainExecStartLines.java
blob: 826fd29b271be762bc863eaba17325a4981b8cc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package app;

public class MainExecStartLines {

    public static void main(String[] args) // 6
    { // 7

        
        
        
        String t = "....".substring(0);        // 12
    }
    void go(String s) {
        try {
            String t = "....".substring(0);
        } catch (RuntimeException e) {   // 17


            String t = "....".substring(0);       // 20
        }
    }
}
/*
 * known limitation: 
 * For static shadow of [method|handler] execution join points 
 * in binary form, only can detect first line of code.
 */