View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.indentation.indentation; //indent:0 exp:0
2   
3   import java.util.Date; //indent:0 exp:0
4   
5   @Entity //indent:0 exp:0
6   @SecondaryTable(name = "TV_PROGRAM_EXT", pkJoinColumns = { //indent:0 exp:0
7       @PrimaryKeyJoinColumn(name = "CHANNEL_ID"), //indent:4 exp:4
8       @PrimaryKeyJoinColumn(name = "PRESENTER_NAME") //indent:4 exp:4
9           }) //indent:8 exp:0 warn
10  @AssociationOverrides( { //indent:0 exp:0
11      @AssociationOverride(name = "id.channel", joinColumns = @JoinColumn(name = "chan_id", nullable = false)), //indent:4 exp:4
12      @AssociationOverride(name = "id.presenter", joinColumns = @JoinColumn(name = "presenter_name", nullable = false))}) //indent:4 exp:4
13  public class InputIndentationAnnotationScopeIndentationCheck { //indent:0 exp:0
14      @EmbeddedId //indent:4 exp:4
15      public String id; //indent:4 exp:4
16  
17      @Temporal(TemporalType.TIME) //indent:4 exp:4
18      Date time; //indent:4 exp:4
19  
20      @Column(name = "TXT", table = "TV_PROGRAM_EXT") //indent:4 exp:4
21      public String text; //indent:4 exp:4
22  
23  } //indent:0 exp:0
24  
25  @interface Entity {} //indent:0 exp:0
26  @interface SecondaryTable { //indent:0 exp:0
27      String name(); //indent:4 exp:4
28      PrimaryKeyJoinColumn[] pkJoinColumns(); //indent:4 exp:4
29  } //indent:0 exp:0
30  @interface AssociationOverrides { //indent:0 exp:0
31      AssociationOverride[] value(); //indent:4 exp:4
32  } //indent:0 exp:0
33  @interface EmbeddedId {} //indent:0 exp:0
34  @interface Temporal { //indent:0 exp:0
35      String value(); //indent:4 exp:4
36  } //indent:0 exp:0
37  @interface Column { //indent:0 exp:0
38      String name(); //indent:4 exp:4
39      String table(); //indent:4 exp:4
40  } //indent:0 exp:0
41  @interface PrimaryKeyJoinColumn { //indent:0 exp:0
42      String name(); //indent:4 exp:4
43  } //indent:0 exp:0
44  @interface AssociationOverride { //indent:0 exp:0
45      String name(); //indent:4 exp:4
46      JoinColumn joinColumns(); //indent:4 exp:4
47  } //indent:0 exp:0
48  @interface JoinColumn { //indent:0 exp:0
49      String name(); //indent:4 exp:4
50      boolean nullable(); //indent:4 exp:4
51  } //indent:0 exp:0
52  class TemporalType { //indent:0 exp:0
53      static final String TIME = ""; //indent:4 exp:4
54  } //indent:0 exp:0