Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow are implicit casts handled in JDT?
https://www.eclipse.org/forums/index.php/mv/msg/80295/249565/#msg_249565
"How are implicit casts handled in JDT?"
Any description? Any document which describes this?
Regards,
Rahul Mishra]]>Rahul Mishra2007-11-14T05:20:42-00:00Re: How are implicit casts handled in JDT?
https://www.eclipse.org/forums/index.php/mv/msg/80295/249580/#msg_249580
Originally posted by: wharley.bea.com
"Rahul Mishra" <rahulk.mishra@tcs.com> wrote in message
news:8a07854507f40e8bf4c9f409d21e4bba$1@www.eclipse.org...
> Hi folks,
>
> "How are implicit casts handled in JDT?" Any description? Any document
> which describes this?
Implicit casts are handled according to the Java Language Specification, as
published by Sun.
If that's not the answer you were looking for, can you be more specific in
your question? What exactly do you mean by "handled in JDT"?]]>2007-11-14T16:47:18-00:00Re: How are implicit casts handled in JDT?
https://www.eclipse.org/forums/index.php/mv/msg/80295/249589/#msg_249589
>>
>> "How are implicit casts handled in JDT?" Any description? Any document
>>which describes this?
>
>Implicit casts are handled according to the Java Language Specification, as
>published by Sun.
>If that's not the answer you were looking for, can you be more specific in
>your question? What exactly do you mean by "handled in JDT"?
To be more specific, Are there any specific files/classes/routines in JDT
that take care of the implicit casts? For example,
byte b = 10;
int i = b; /* implicit cast from byte to int */
In the second statement an implicit cast is being done. So, my query is:
which files/classes/routines make this conversion from byte to int?]]>Rahul Mishra2007-11-15T05:35:34-00:00Re: How are implicit casts handled in JDT?
https://www.eclipse.org/forums/index.php/mv/msg/80295/249893/#msg_249893
>>> Hi folks,
>>>
>>> "How are implicit casts handled in JDT?" Any description? Any
>>> document which describes this?
>>
>> Implicit casts are handled according to the Java Language
>> Specification, as published by Sun.
>
>> If that's not the answer you were looking for, can you be more
>> specific in your question? What exactly do you mean by "handled in JDT"?
>
> To be more specific, Are there any specific files/classes/routines in
> JDT that take care of the implicit casts? For example,
> byte b = 10;
> int i = b; /* implicit cast from byte to int */
>
> In the second statement an implicit cast is being done. So, my query
> is: which files/classes/routines make this conversion from byte to int?
(method is overriden in various places)]]>Philippe Mulet2007-11-30T12:00:35-00:00Re: How are implicit casts handled in JDT?
https://www.eclipse.org/forums/index.php/mv/msg/80295/249896/#msg_249896
org.eclipse.jdt.dom?