View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.annotation.annotationlocation;
2   
3   public class InputAnnotationLocationWithoutAnnotations {
4       public static void main(String[] args) {
5           final Foo foo = new Foo();
6           foo.bar(new Bar<Foo>() {
7               public void foo() {
8               }
9           });
10      }
11  
12      static class Foo {
13          void bar(Bar<Foo> bar) {
14          }
15      }
16  
17      static abstract class Bar<T> {
18          abstract void foo();
19      }
20  }