Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

find better way instead of @Contracted

#8

currently it is necessary to specify @Contracted to enable GContracts for the package or class.

maybe auto-resolving should be used instead of specifying a separate annotation.

Reported by me (at andresteingress) · March 15th, 2011 @ 12:04 PM

State: resolved
Milestone: 1.2.1

Activity

  1. me (at andresteingress)
    me (at andresteingress)

    there needs to be a visitor implementation which takes a look for contract annotations:

    1. check if class-invariant is available on the current class
    2. check if any method has a pre- or postcondition
    3. check if any descendant class has a class-invariant
    4. check if any descendant class has method with a pre- or post-conditon
    5. check if any implemented interface has a method with a pre- or post-condition
    6. check if any interface descendant has a method with a pre- or post-condition

    automatically annotate classes with @Contracted if a contract element was found.

    March 31st, 2011 @ 08:35 AM

  2. me (at andresteingress)
  3. me (at andresteingress)
    me (at andresteingress)
    • State changed from new to resolved

    March 31st, 2011 @ 09:22 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.