Full Qualified name

I need to extract all the fully qualified names present in a Java source code. Could anyone point me in the right direction? i have to transforme all qualified names to an import instructions. More details : do what ctl+shift+M do. And it must be authomatique in total abstraction to the user and the fonction wille be asked after each modification of the source code. The java source code files are generated bay an other gerator (meta language) and i can not modify the generator. i can not use shift+ctrl+M because it must be authomatic


Maybe you can use JavaCC. There is already a Java grammar that you can use to detect all the FQN you need in the source.

Need Your Help

9patch image not working

java android nine-patch

I have a set of four 9patch images I wish to use for a button (ldpi to xhdpi). It appears normally on the UI designer in eclipse, but on the emulator and on my android device it stretches the image...

Why does .each { |rule| return false if !user.match(rule).nil? } not work in Rails C?

ruby-on-rails ruby ruby-on-rails-3

I'm using rails console to debug an issue. What works with the rails server errors in rails console and I can not figure out why.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.