This is just a utility i created joining these blog posts:
How can I count the number of methods in a Java class ?and
Get All Classes Within A Packageimport java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.URL;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
/**
* Counts the number of classes and methods in a package.
*/
public class CountPackageMethods {
/**
* Scans all classes accessible from the context class loader w...
Continue reading ...