jeudi 1 novembre 2018

Extract full attribute types from a java file

So i need to extract the types of attributes from java files. I am currently using the parser qdox to do this. It works fine for the most part.

The problem is that when I have attributes that have a type like this List<String> I need to get the full name of String i.e java.lang.String.

But it seems that qdox can´t extract the full name of the generic typ. Is there any way to get it?





Aucun commentaire:

Enregistrer un commentaire