blob: d8d23ae53a2ab6f26c9ffce7b07a7cfe1365e24a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package com.siyeh.ipp.exceptions.splitMultiCatch;
import java.io.*;
import java.lang.annotation.*;
public class Simple {
void foo() {
try {
Reader reader = new FileReader("");
} catch (@A @TA IndexOutOfBoundsException e) {
} catch (@A @TA FileNotFoundException e) {
}
}
}
@Target(ElementType.PARAMETER) @interface A { }
@Target(ElementType.TYPE_USE) @interface TA { }
|