GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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
Filter options
  • objectbox-java-api/src/main/java/io/objectbox/annotation
    • Generated.java
    • JoinEntity.java
    • JoinProperty.java
    • Keep.java
    • OrderBy.java
    • ToMany.java
    • ToOne.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎objectbox-java-api/src/main/java/io/objectbox/annotation/Generated.java‎

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 numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @see Keep
1414
*/
15-
@Retention(RetentionPolicy.SOURCE)
15+
@Retention(RetentionPolicy.CLASS)
1616
@Target({ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.METHOD})
1717
public @interface Generated {
1818
int hash() default -1;
Collapse file

‎objectbox-java-api/src/main/java/io/objectbox/annotation/JoinEntity.java‎

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 numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* Defines *-to-* relation with join table
1010
*/
11-
@Retention(RetentionPolicy.SOURCE)
11+
@Retention(RetentionPolicy.CLASS)
1212
@Target(ElementType.FIELD)
1313
/** TODO public */ @interface JoinEntity {
1414
/** Reference to join-entity class, which holds the source and the target properties */
Collapse file

‎objectbox-java-api/src/main/java/io/objectbox/annotation/JoinProperty.java‎

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 numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @see ToMany
1111
*/
12-
@Retention(RetentionPolicy.SOURCE)
12+
@Retention(RetentionPolicy.CLASS)
1313
@Target({})
1414
/** TODO public */ @interface JoinProperty {
1515
/** Name of the property in the name entity, which matches {@link #referencedName()} */
Collapse file

‎objectbox-java-api/src/main/java/io/objectbox/annotation/Keep.java‎

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 numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @see Generated
2020
*/
21-
@Retention(RetentionPolicy.SOURCE)
21+
@Retention(RetentionPolicy.CLASS)
2222
@Target({ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.TYPE})
2323
public @interface Keep {
2424
}
Collapse file

‎objectbox-java-api/src/main/java/io/objectbox/annotation/OrderBy.java‎

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 numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* E.g.: @OrderBy("name, age DESC") List collection;
1111
* If used as marker (@OrderBy List collection), then collection is ordered by primary key
1212
*/
13-
@Retention(RetentionPolicy.SOURCE)
13+
@Retention(RetentionPolicy.CLASS)
1414
@Target(ElementType.FIELD)
1515
/** TODO public */ @interface OrderBy {
1616
/**
Collapse file

‎objectbox-java-api/src/main/java/io/objectbox/annotation/ToMany.java‎

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 numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* Defines *-to-N relation
1010
*/
11-
@Retention(RetentionPolicy.SOURCE)
11+
@Retention(RetentionPolicy.CLASS)
1212
@Target(ElementType.FIELD)
1313
/** TODO public */ @interface ToMany {
1414
/**
Collapse file

‎objectbox-java-api/src/main/java/io/objectbox/annotation/ToOne.java‎

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 numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* Defines *-to-1 relation with base on existing property
1010
*/
11-
@Retention(RetentionPolicy.SOURCE)
11+
@Retention(RetentionPolicy.CLASS)
1212
@Target(ElementType.FIELD)
1313
/** TODO public */ @interface ToOne {
1414
/**

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.