1   package com.puppycrawl.tools.checkstyle.grammar.java8;
2   
3   import java.lang.annotation.ElementType;
4   import java.lang.annotation.Target;
5   
6   
7   public class InputAnnotations10 {
8   	public static Object methodName(Object str) {
9   		try {
10              return null;
11              
12          } catch (@MyAnnotation1(name = "ABC", version = 1) Exception ex) {
13              return "";
14          }
15  	}
16  	
17  	@Target(ElementType.TYPE_USE)
18  	@interface MyAnnotation1 {
19  		
20  	String name();
21  	int version();
22  	}
23  }