I don't believe you can get reflection info about protected or internal
APIs either.
 
Gordon Smith
Adobe Flex SDK Team

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Wednesday, November 21, 2007 11:39 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Reflection -- Accessing private fields



Private is private.

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of marty.pitt
Sent: Tuesday, November 20, 2007 9:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Reflection -- Accessing private fields

Hello all.

Is there any way to get the names of private / protected / internal
variables within a class at runtime? (ie., actual reflection!)

It seems it's not possible using getClassInfo().

What about some sort of custom serialization? (Remembering that the
names of the variables is not known).

Any thoughts?

Cheers

Marty

 

Reply via email to