View Javadoc
1   package integrationTests;
2   
3   import java.beans.ConstructorProperties;
4   
5   import javax.sql.DataSource;
6   
7   /**
8    * The Class ClassWithAnnotations.
9    */
10  @Deprecated
11  final class ClassWithAnnotations {
12  
13      /** The data source. */
14      @SuppressWarnings("DefaultAnnotationParam")
15      @AnAnnotation(integers = {})
16      DataSource dataSource;
17  
18      /** The values. */
19      @Deprecated
20      @AnAnnotation(integers = { 1, 2, 3 })
21      int[] values;
22  
23      /**
24       * Instantiates a new class with annotations.
25       */
26      @ConstructorProperties({ "Ab", "cde" })
27      ClassWithAnnotations() {
28      }
29  
30      /**
31       * A method.
32       */
33      @AnAnnotation("some text")
34      @Deprecated
35      void aMethod() {
36      }
37  }