Re: General problem mapping objects to data and vice versa

John Stracke <jstracke@centive.com>
9 Mar 2003 17:31:02 -0500

          From comp.compilers

Related articles
General problem mapping objects to data and vice versa tabbydan@myway.com (2003-02-06)
Re: General problem mapping objects to data and vice versa bobduff@shell01.TheWorld.com (Robert A Duff) (2003-02-11)
Re: General problem mapping objects to data and vice versa peter@javamonkey.com (Peter Seibel) (2003-02-11)
Re: General problem mapping objects to data and vice versa jstracke@centive.com (John Stracke) (2003-03-09)
Re: General problem mapping objects to data and vice versa peter@javamonkey.com (Peter Seibel) (2003-03-14)
| List of all articles for this month |

From: John Stracke <jstracke@centive.com>
Newsgroups: comp.compilers
Date: 9 Mar 2003 17:31:02 -0500
Organization: Centive
References: 03-02-034 03-02-063
Keywords: OOP, Java
Posted-Date: 09 Mar 2003 17:31:01 EST

Peter Seibel wrote:
> tabbydan@myway.com (tabbydan) writes:


> For this task, the information you need (existance of fields and
> methods) might be more readily at hand in the .class file; they're
> pretty easy to parse.


You don't need to parse the classfiles yourself; you can use Java's
introspection techniques. See the javadoc for java.lang.Class and
java.lang.reflect.


--
/================================================================\
|John Stracke |jstracke@centive.com |
|Principal Engineer|http://www.centive.com |
|Centive |My opinions are my own. |


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.