summaryrefslogtreecommitdiff
path: root/plugins/IntentionPowerPak/test/com/siyeh/ipp/exceptions/splitMultiCatch/TypeAnno_after.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IntentionPowerPak/test/com/siyeh/ipp/exceptions/splitMultiCatch/TypeAnno_after.java')
-rw-r--r--plugins/IntentionPowerPak/test/com/siyeh/ipp/exceptions/splitMultiCatch/TypeAnno_after.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/IntentionPowerPak/test/com/siyeh/ipp/exceptions/splitMultiCatch/TypeAnno_after.java b/plugins/IntentionPowerPak/test/com/siyeh/ipp/exceptions/splitMultiCatch/TypeAnno_after.java
new file mode 100644
index 000000000000..d8d23ae53a2a
--- /dev/null
+++ b/plugins/IntentionPowerPak/test/com/siyeh/ipp/exceptions/splitMultiCatch/TypeAnno_after.java
@@ -0,0 +1,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 { } \ No newline at end of file