1 package com.puppycrawl.tools.checkstyle.grammar.java8; 2 import java.lang.annotation.ElementType; 3 import java.lang.annotation.Target; 4 5 6 public class InputAnnotations7 { 7 8 public static void main(String[] args) { 9 Object object = new @Interned Object(); 10 11 } 12 13 @Target(ElementType.TYPE_USE) 14 @interface Interned { 15 16 } 17 18 }