Skip to content

Annotations#9

Open
lsafina wants to merge 20 commits into
sbliudze:masterfrom
lsafina:annotations
Open

Annotations#9
lsafina wants to merge 20 commits into
sbliudze:masterfrom
lsafina:annotations

Conversation

@lsafina

@lsafina lsafina commented Feb 23, 2022

Copy link
Copy Markdown
Collaborator

Skeleton for @invariant(expr), @StatePredicate(state, expr) and and @pure annotations. Pre- and post-condition arguments added to @transition.

Simon Bliudze and others added 12 commits July 6, 2018 16:15
…t (did not manage to get the logger working)

Also added a 2 sec wait after starting to ensure the route has time to pick-up some work (not sure this actually contributes)
…hes a Boolean flag. When false, this flag prevents the Monitor from adding new routes (canWork guard)
Version change (1.6 --> 7) in pom.xml -- probably due to IntellIJ upgrade
Additional printout in Switchable roots for ease of debugging
@bobismijnnaam

Copy link
Copy Markdown

I'm using these in the VerCors support as well :) With some small changes because of VerCors shortcomings. Some small ideas we can maybe discuss next monday:

  • Should the argument name of @invariant be "value" instead of "expr"? Then you can use the annotations like, @Invariant("x > 2"), instead of @Invariant(expr = "x > 2").
  • I think this was already discussed but putting it here for completeness: for the repeatable annotations (in particular I'm thinking of @StatePredicates) maybe the PR can be refactored to use @Repeatable? This could also be useful for other JavaBIP annotations, e.g. @Ports.

1) rename BIPCoordinator to GlueCoordinator,
2) add BIPException check in DataCoordinationKernel for register method, GlueCoordinatorImpl run and start methods
3) add informInternal, informSpontaneous methods skeletons
@sbliudze

sbliudze commented Oct 11, 2022 via email

Copy link
Copy Markdown
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants