Exactly, this is where I ran into this.

On Fri, Dec 17, 2010 at 3:36 AM, Thomas Broyer <[email protected]> wrote:
>
> On Wednesday, December 8, 2010 9:16:16 PM UTC+1, PhilBeaudoin wrote:
>>
>> Just ran into an interesting little hack today. Basically, the interface
>> includes a method:
>>
>> public void __do_not_implement_this_interface_extend_FooImpl_instead();
>>
>> I'm far from convinced I like it, but it sure is right in your face in
>> case you don't read javadocs! ;)
>
> interestingly, that's exactly what Hamcrest (used in many testing tools:
> JUnit, Mockito, etc.) does:
> http://code.google.com/p/hamcrest/source/browse/trunk/hamcrest-java/hamcrest-core/src/main/java/org/hamcrest/Matcher.java?r=645
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to