View Javadoc
1   package com.puppycrawl.tools.checkstyle.grammars.java8;
2   import java.lang.annotation.ElementType;
3   import java.lang.annotation.Target;
4   
5   
6   
7   
8   public class InputAnnotations3 {
9   	
10  	public static void methodName(Object str) {
11  		String myString = (@NonNull String) str;
12  	}
13  	
14  	@Target(ElementType.TYPE_USE)
15  	@interface NonNull {
16  	}
17  	
18  }