Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion liquidjava-api/src/main/java/liquidjava/specification/Ghost.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Repeatable(GhostMultiple.class)
@Repeatable(Ghost.Multiple.class)
public @interface Ghost {

/**
Expand All @@ -40,4 +40,13 @@
* </pre>
*/
String value();

/**
* Container annotation used by {@link Repeatable} to support multiple ghost declarations.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@interface Multiple {
Ghost[] value();
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Repeatable(RefinementAliasMultiple.class)
@Repeatable(RefinementAlias.Multiple.class)
public @interface RefinementAlias {

/**
Expand All @@ -42,4 +42,13 @@
* </pre>
*/
String value();

/**
* Container annotation used by {@link Repeatable} to support multiple refinement aliases.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@interface Multiple {
RefinementAlias[] value();
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
@Repeatable(RefinementPredicateMultiple.class)
@Repeatable(RefinementPredicate.Multiple.class)
public @interface RefinementPredicate {

/**
Expand All @@ -43,4 +43,13 @@
* </pre>
*/
String value();

/**
* Container annotation used by {@link Repeatable} to support multiple refinement predicates.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
@interface Multiple {
RefinementPredicate[] value();
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
@Repeatable(StateRefinementMultiple.class)
@Repeatable(StateRefinement.Multiple.class)
public @interface StateRefinement {

/**
Expand Down Expand Up @@ -66,4 +66,13 @@
* </pre>
*/
String msg() default "";

/**
* Container annotation used by {@link Repeatable} to support multiple state transitions.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
@interface Multiple {
StateRefinement[] value();
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Repeatable(StateSets.class)
@Repeatable(StateSet.Multiple.class)
public @interface StateSet {

/**
Expand All @@ -42,4 +42,13 @@
* </pre>
*/
String[] value();

/**
* Container annotation used by {@link Repeatable} to support multiple state sets.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@interface Multiple {
StateSet[] value();
}
}

This file was deleted.

Loading