tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kerber <>
Subject How to get fields list in order
Date Thu, 02 Nov 2006 13:34:33 GMT
This is more of a java question than it is Tomcat-specific, but it's the 
only java group I hang out in, so here goes:

How can I get a list of the public fields declared in a class, *in the 
order they are declared*?  Using Reflection's getFields and 
getDeclaredFields methods returns them in no particular order, and I 
need them in the order they are declared so I can get their starting 
byte offsets.


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message