Skip to content

Commit

Permalink
Add Javadoc to qualifers for viewpoint test checker (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ao-senXiong authored Dec 22, 2024
1 parent ab0a9e7 commit 3d43fa3
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions framework/src/test/java/viewpointtest/quals/A.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/** The A qualifier. */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
Expand Down
1 change: 1 addition & 0 deletions framework/src/test/java/viewpointtest/quals/B.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/** The B qualifier. */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
Expand Down
1 change: 1 addition & 0 deletions framework/src/test/java/viewpointtest/quals/Bottom.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/** The Bottom qualifier. */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
Expand Down
6 changes: 3 additions & 3 deletions framework/src/test/java/viewpointtest/quals/Lost.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
import java.lang.annotation.Target;

/**
* The {@link Lost} qualifier indicates that a relationship cannot be expressed. It is the result of
* The Lost qualifier indicates that a relationship cannot be expressed. It is the result of
* viewpoint adaptation that combines {@link Top} and {@link ReceiverDependentQual}.
*
* <p>It is not reflexive in the subtyping relationship and the only subtype for {@link Lost} is
* {@link Bottom}.
* <p>It is not reflexive in the subtyping relationship and the only subtype for Lost is {@link
* Bottom}.
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
Expand Down
1 change: 1 addition & 0 deletions framework/src/test/java/viewpointtest/quals/PolyVP.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/** The PolyVP qualifier is a polymorphic qualifier in this hierarchy. */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/** The ReceiverDependentQual qualifier. */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
Expand Down
1 change: 1 addition & 0 deletions framework/src/test/java/viewpointtest/quals/Top.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/** The Top qualifier. */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
Expand Down

0 comments on commit 3d43fa3

Please sign in to comment.