The field and method descriptors are used by the runtime for linking classes. Consequently, they should be available through reflection. I need them for creating java classes at runtime. Is the only way to reconstruct the descriptors based on the information obtained through methods like Class.getName(), which returns almost, but not quite the descriptor for a field?
Aucun commentaire:
Enregistrer un commentaire