I am using reflection to extract the field type from Java objects at runtime. These fields are being categorized as:
- Primitive Type
- Fields having package name starting with Java.lang.*
- Fields having package name starting with Java.util.*
- Array types
For Custom Objects(User defined) in the field: These are again explored for their fields and their respective fields categorized.(Recursive call)
I wanted to know whether the above categorization will be enough for any object or some extra categories are required for more meaningful categorization.
Aucun commentaire:
Enregistrer un commentaire