Constructor of filter.parambaseclass the class to filter inner classes on. int extidx = baseclass.lastIndexOf(".class"); if (extidx == -1) { extidx = baseclass.length() - 1; } baseClassName = baseclass.substring(0, extidx);
int extidx = baseclass.lastIndexOf(".class"); if (extidx == -1) { extidx = baseclass.length() - 1; } baseClassName = baseclass.substring(0, extidx);
Check if the file name passes the filter.paramdir not used.paramfilename the filename to filter on.returntrue if the filename is an inner class of the base class. if ((filename.lastIndexOf(".") != filename.lastIndexOf(".class")) || (filename.indexOf(baseClassName + "$") != 0)) { return false; } return true;
if ((filename.lastIndexOf(".") != filename.lastIndexOf(".class")) || (filename.indexOf(baseClassName + "$") != 0)) { return false; } return true;