Regarding accessing datatypes of arguments in java

20 views
Skip to first unread message

Devanshi Bansal

unread,
Apr 9, 2016, 7:32:07 AM4/9/16
to Beeware Developers
Is there any other way to know the datatype of argument other than acessing it's java opcode?

Russell Keith-Magee

unread,
Apr 10, 2016, 11:07:53 PM4/10/16
to beeware-d...@googlegroups.com
Hi Devanshi,

It depends on exactly what you’re trying to do. All VOC arguments are passed around as org/python/Object instances; depending on what you’re trying to do, there are various ways of getting the Python type or Java class of an object instance. The answer is slightly more complex if you’re working at the bytecode level, rather than the Java source level. 

What exactly are you trying to determine?

Yours,
Russ Magee %-)

On Sat, Apr 9, 2016 at 5:25 PM, Devanshi Bansal <bansalde...@gmail.com> wrote:
Is there any other way to know the datatype of argument other than acessing it's java opcode?

--
You received this message because you are subscribed to the Google Groups "Beeware Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beeware-develop...@googlegroups.com.
To post to this group, send email to beeware-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/beeware-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/beeware-developers/29f84be6-a31f-41b5-96d2-b1454f6bd746%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages