Bernhard
05/02/2019, 10:07 AMJonathan Mew
05/02/2019, 10:19 AMinternal
?Bernhard
05/02/2019, 10:36 AMBernhard
05/02/2019, 10:36 AMtddmonkey
05/02/2019, 10:41 AMStephan Schroeder
05/02/2019, 10:42 AMInternal
means restricted to module which is better than public but still a lot of visibility. If you work with interfaces than this (internal) method could be part of the implementation and not of the interface.Bernhard
05/02/2019, 10:45 AMBernhard
05/02/2019, 10:45 AMtddmonkey
05/02/2019, 10:46 AMBernhard
05/02/2019, 10:46 AMtddmonkey
05/02/2019, 10:46 AMBernhard
05/02/2019, 10:47 AMthana
05/02/2019, 10:59 AMStephan Schroeder
05/02/2019, 11:01 AMfriend
option, doesn’t it. So a method is private apart from the specified friend. This can be - of course misused - a lot but a testedBy
would be convenient. But that leads to semantic test class
which are allowed to be referenced by testedBy
(in order to avoid the misuse of testedBy
) which is a lot of baggage, so I understand why this doesn’t exist.thana
05/02/2019, 11:12 AMthana
05/02/2019, 11:13 AMBernhard
05/02/2019, 11:17 AMBernhard
05/02/2019, 11:19 AMthana
05/02/2019, 11:20 AMthana
05/02/2019, 11:20 AMtddmonkey
05/02/2019, 11:20 AM