Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[all] Move the guard evaluator detector from Janus to io.sarl.util.
The new location of these tools will enable any SRE implementation to use the same algorithm for extracting the guard evaluator from the generated SARL classes. Signed-off-by: Stéphane Galland <galland@arakhne.org>
- Loading branch information
1 parent
25d801c
commit 7ed4b96
Showing
7 changed files
with
26 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...ernaleventdispatching/messages.properties → ...sarl/eventdispatching/messages.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
BehaviorGuardEvaluator_0=Argument rejected by the perception guard evaluator method: {0} | ||
BehaviorGuardEvaluator_1=Perception guard evaluator method becames inaccessible: {0} | ||
BehaviorGuardEvaluatorRegistry_0=Missing for a method annotated with @PerceptGuardEvaluator. Is {0} registered? | ||
BehaviorGuardEvaluatorRegistry_1=Method {0} has @{1} annotation but with invalid parameters. Perception guard evaluator methods must have exactly 2 parameters: the event occurence to dispatch, a subtype of Event; and the collection of BehaviorUnit methods to execute, Collection<Runnable>. The declared parameters are: {3}. | ||
BehaviorGuardEvaluatorRegistry_0=Method {0} has @{1} annotation but with invalid parameters. Perception guard evaluator methods must have exactly 2 parameters: the event occurence to dispatch, a subtype of Event; and the collection of BehaviorUnit methods to execute, Collection<Runnable>. The declared parameters are: {2}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters