You wouldn't have to hack TypeOracle. You could just look for your
particular annotation to see what was a Jribble type.

On Sun, May 29, 2011 at 1:47 PM, Grzegorz Kossakowski <
grzegorz.kossakow...@gmail.com> wrote:

> 2011/5/29 Scott Blum <sco...@google.com>
>
>> On Sat, May 28, 2011 at 3:41 PM, Grzegorz Kossakowski <
>> grzegorz.kossakow...@gmail.com> wrote:
>>
>>> I cannot comment on your proposals because I don't know gwt internals
>>> enough. I decided to add a method to TypeOracle that allows me to ask if
>>> given type comes from Java or Jribble. If it's Jribble I don't try to do any
>>> conversions.
>>>
>>> This is ugly and fragile method but seems to be the only viable strategy
>>> for now. If you guys can come up with systematic solution to this problem it
>>> would be awesome.
>>>
>>
>> Use an annotation.
>>
>
> You mean putting annotation to every Jribble type? How that would help?
>
> Also, I thought you'd enjoy this question:
> http://stackoverflow.com/questions/6167326/java-class-name-containing-dollar-sign
>
> Seems like javac can confuse itself about dollar sign, sigh.
>
> --
> Grzegorz Kossakowski
>
>  --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>

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

Reply via email to