View Javadoc
1   /*
2    * MIT License
3    * Copyright (c) 2006-2025 JMockit developers
4    * See LICENSE file for full license text.
5    */
6   package integration.tests;
7   
8   import java.beans.ConstructorProperties;
9   
10  import javax.sql.DataSource;
11  
12  /**
13   * The Class ClassWithAnnotations.
14   */
15  @Deprecated
16  final class ClassWithAnnotations {
17  
18      /** The data source. */
19      @SuppressWarnings("DefaultAnnotationParam")
20      @AnAnnotation(integers = {})
21      DataSource dataSource;
22  
23      /** The values. */
24      @Deprecated
25      @AnAnnotation(integers = { 1, 2, 3 })
26      int[] values;
27  
28      /**
29       * Instantiates a new class with annotations.
30       */
31      @ConstructorProperties({ "Ab", "cde" })
32      ClassWithAnnotations() {
33      }
34  
35      /**
36       * A method.
37       */
38      @AnAnnotation("some text")
39      @Deprecated
40      void aMethod() {
41      }
42  }