View Javadoc
1   package com.puppycrawl.tools.checkstyle.grammars.java8;
2   
3   import java.lang.annotation.Retention;
4   import java.lang.annotation.Target;
5   
6   import static java.lang.annotation.ElementType.FIELD;
7   import static java.lang.annotation.ElementType.METHOD;
8   import static java.lang.annotation.RetentionPolicy.RUNTIME;
9   
10  
11  @Target({ METHOD, FIELD })
12  @Retention(RUNTIME)
13  public @interface InputMethodReferences5 {
14      JoinFormula formula() default @JoinFormula(value = "", referencedColumnName = "");
15  
16      JoinColumn column() default @JoinColumn();
17  }
18  
19  @interface JoinFormula {
20      String value();
21  
22      String referencedColumnName();
23  }
24  
25  @interface JoinColumn {
26  
27  }