accessing private variables from @Invariant
Reported by me (at andresteingress) | 2011-03-08 13:07:51 UTC | in 1.2.6
currently it is not possible to accesss private instance variables from class invariants
Comments and changes to this ticket
-

me (at andresteingress) 2011-03-08 23:41:04 UTC
- Milestone set to 1.2.1
- Milestone order changed from 1 to 0
-

me (at andresteingress) 2011-03-31 09:58:07 UTC
- Milestone changed from 1.2.1 to 1.2.2
- Milestone order changed from 3 to 0
-

-

me (at andresteingress) 2011-05-12 20:08:21 UTC
- Milestone changed from 1.2.2 to 1.2.3
- Milestone order changed from 4 to 0
-

me (at andresteingress) 2011-05-18 11:18:02 UTC
- 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
-

me (at andresteingress) 2011-05-19 16:40:42 UTC
- Milestone order changed from 1 to 0
the general strategy is to generate protected synthetic getter methods for accessing the private instance variables values.
-

me (at andresteingress) 2011-06-12 22:03:58 UTC
- Milestone changed from 1.2.4 to 1.2.5
- Milestone order changed from 2 to 0
-

me (at andresteingress) 2012-01-15 21:26:17 UTC
- Milestone changed from 1.2.5 to 1.2.6
- Milestone order changed from 1 to 0
-

me (at andresteingress) 2012-02-26 20:41:14 UTC
(from [aaa017e5d8afa35031c8e25047e078cae9fc304a]) fixed [#3] - accessing private variables from @Invariant https://github.com/andresteingress/gcontracts/commit/aaa017e5d8afa3...
-

me (at andresteingress) 2012-02-26 20:45:02 UTC
- State changed from new to resolved
fixed with 1.2.6 - resolved via reflection calls.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
core module
People watching this ticket
Tags
Referenced by
-
3
accessing private variables from @Invariant
(from [6370eff908b60883d98d65df754d181444ccc5ec])
added t...