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.

accessing private variables from @Invariant

#3

currently it is not possible to accesss private instance variables from class invariants

Reported by me (at andresteingress) · March 8th, 2011 @ 01:07 PM

State: resolved
Milestone: 1.2.6

Activity

  1. me (at andresteingress)
    me (at andresteingress)
    • Milestone set to 1.2.1
    • Milestone order changed from 1 to 0

    March 8th, 2011 @ 11:41 PM

  2. me (at andresteingress)
    me (at andresteingress)
    • Milestone changed from 1.2.1 to 1.2.2
    • Milestone order changed from 3 to 0

    March 31st, 2011 @ 09:58 AM

  3. me (at andresteingress)
  4. me (at andresteingress)
    me (at andresteingress)
    • Milestone changed from 1.2.2 to 1.2.3
    • Milestone order changed from 4 to 0

    May 12th, 2011 @ 08:08 PM

  5. me (at andresteingress)
    me (at andresteingress)
    • Milestone changed from 1.2.3 to 1.2.4
    • Milestone order changed from 2 to 0

    there have been some improvements on this topic - solution is mainly to inject generated protected methods

    May 18th, 2011 @ 11:18 AM

  6. me (at andresteingress)
    me (at andresteingress)
    • Milestone order changed from 1 to 0

    the general strategy is to generate protected synthetic getter methods for accessing the private instance variables values.

    May 19th, 2011 @ 04:40 PM

  7. me (at andresteingress)
    me (at andresteingress)
    • Milestone changed from 1.2.4 to 1.2.5
    • Milestone order changed from 2 to 0

    June 12th, 2011 @ 10:03 PM

  8. me (at andresteingress)
    me (at andresteingress)
    • Milestone changed from 1.2.5 to 1.2.6
    • Milestone order changed from 1 to 0

    January 15th, 2012 @ 09:26 PM

  9. me (at andresteingress)
  10. me (at andresteingress)
    me (at andresteingress)
    • State changed from new to resolved

    fixed with 1.2.6 - resolved via reflection calls.

    February 26th, 2012 @ 08:45 PM

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.