Is there an easy way to search in a java project, which methods in a Class have the same "name" ?
So for example for :
public class Banana{
void findBananas(Ananas ananas) { --- }
void findBananas(Bananas banana) { --- }
void findCiao(Ciao ciao) { --- }
void findCiao2(Ciao ciao) { --- }
}
The search have to specify that in Banana class there is a repetition of the method name "findBananas".
Any tools / ide appreciated.
Updated post. Old version removed
You can use Reflection. I don't know your exact needs but this one works fine for my projects here is git test project :
You will need to use 'org.reflections:reflections:0.9.10' lib for this. Can download from here https://code.google.com/p/reflections/