View Javadoc
1   package com.google.checkstyle.test.chapter4formatting.rule4852classannotations;
2   
3   /** Test class for checking the rule 4852. */
4   public class InputFormattedClassAnnotations {
5     /** Custom annotation 1. */
6     public @interface SomeAnnotation1 {}
7   
8     /** Custom annotation 2. */
9     public @interface SomeAnnotation2 {}
10  
11    /** Inner class 2. */
12    @SomeAnnotation1
13    @SomeAnnotation2
14    class Inner1 {}
15  
16    /** Inner class 3. */
17    @SomeAnnotation1
18    @SomeAnnotation2
19    class Inner3 {}
20  }