GeezerVison is showing github.com — @Retention(RetentionPolicy.CLASS) for all · MasterAlpha/objectbox-java@9cd287c
File tree
Expand file treeCollapse file tree
Open diff view settings
objectbox-java-api/src/main/java/io/objectbox/annotation
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: objectbox-java-api/src/main/java/io/objectbox/annotation/Generated.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
12 | 12 | * |
13 | 13 | * @see Keep |
14 | 14 | */ |
15 | | -@Retention(RetentionPolicy.SOURCE) |
| 15 | +@Retention(RetentionPolicy.CLASS) |
16 | 16 | @Target({ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.METHOD}) |
17 | 17 | public @interface Generated { |
18 | 18 | int hash() default -1; |
|
Collapse file
Copy file name to clipboardExpand all lines: objectbox-java-api/src/main/java/io/objectbox/annotation/JoinEntity.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
8 | 8 | /** |
9 | 9 | * Defines *-to-* relation with join table |
10 | 10 | */ |
11 | | -@Retention(RetentionPolicy.SOURCE) |
| 11 | +@Retention(RetentionPolicy.CLASS) |
12 | 12 | @Target(ElementType.FIELD) |
13 | 13 | /** TODO public */ @interface JoinEntity { |
14 | 14 | /** Reference to join-entity class, which holds the source and the target properties */ |
|
Collapse file
Copy file name to clipboardExpand all lines: objectbox-java-api/src/main/java/io/objectbox/annotation/JoinProperty.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
9 | 9 | * |
10 | 10 | * @see ToMany |
11 | 11 | */ |
12 | | -@Retention(RetentionPolicy.SOURCE) |
| 12 | +@Retention(RetentionPolicy.CLASS) |
13 | 13 | @Target({}) |
14 | 14 | /** TODO public */ @interface JoinProperty { |
15 | 15 | /** Name of the property in the name entity, which matches {@link #referencedName()} */ |
|
Collapse file
Copy file name to clipboardExpand all lines: objectbox-java-api/src/main/java/io/objectbox/annotation/Keep.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
18 | 18 | * |
19 | 19 | * @see Generated |
20 | 20 | */ |
21 | | -@Retention(RetentionPolicy.SOURCE) |
| 21 | +@Retention(RetentionPolicy.CLASS) |
22 | 22 | @Target({ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.TYPE}) |
23 | 23 | public @interface Keep { |
24 | 24 | } |
Collapse file
Copy file name to clipboardExpand all lines: objectbox-java-api/src/main/java/io/objectbox/annotation/OrderBy.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
10 | 10 | * E.g.: @OrderBy("name, age DESC") List collection; |
11 | 11 | * If used as marker (@OrderBy List collection), then collection is ordered by primary key |
12 | 12 | */ |
13 | | -@Retention(RetentionPolicy.SOURCE) |
| 13 | +@Retention(RetentionPolicy.CLASS) |
14 | 14 | @Target(ElementType.FIELD) |
15 | 15 | /** TODO public */ @interface OrderBy { |
16 | 16 | /** |
|
Collapse file
Copy file name to clipboardExpand all lines: objectbox-java-api/src/main/java/io/objectbox/annotation/ToMany.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
8 | 8 | /** |
9 | 9 | * Defines *-to-N relation |
10 | 10 | */ |
11 | | -@Retention(RetentionPolicy.SOURCE) |
| 11 | +@Retention(RetentionPolicy.CLASS) |
12 | 12 | @Target(ElementType.FIELD) |
13 | 13 | /** TODO public */ @interface ToMany { |
14 | 14 | /** |
|
Collapse file
Copy file name to clipboardExpand all lines: objectbox-java-api/src/main/java/io/objectbox/annotation/ToOne.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
8 | 8 | /** |
9 | 9 | * Defines *-to-1 relation with base on existing property |
10 | 10 | */ |
11 | | -@Retention(RetentionPolicy.SOURCE) |
| 11 | +@Retention(RetentionPolicy.CLASS) |
12 | 12 | @Target(ElementType.FIELD) |
13 | 13 | /** TODO public */ @interface ToOne { |
14 | 14 | /** |
|