Yes.  instanceof works with obfuscation.

On Mon, May 13, 2019 at 10:42 AM <[email protected]> wrote:

> If you are experiencing an issue please mention the full platform your
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
> Desktop OS Windows 10 Pro
> Simulator Latest
> Device IOS & Android
>
> does instanceof work when the code is obfuscated at the compiled for the
> device?
>
> if (comp instanceof Container) {
>     do something here ...
> }
>
> Regards.
>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at
> https://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/80d04024-55a7-4672-ab7d-c6809808e797%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/80d04024-55a7-4672-ab7d-c6809808e797%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKVCMbr40PrWf8dHiMcDH3reqOM5EL6kW6p2EMAAq%2B9npg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to