Methods Summary |
---|
private void | addTopLevelClassesTo(java.util.Set set)
set.addAll(topLevelClasses);
for (ClassPathPackageInfo info : getSubpackages()) {
info.addTopLevelClassesTo(set);
}
|
public boolean | equals(java.lang.Object obj)
if (obj instanceof ClassPathPackageInfo) {
ClassPathPackageInfo that = (ClassPathPackageInfo) obj;
return (this.packageName).equals(that.packageName);
}
return false;
|
public java.util.Set | getSubpackages()
Set<ClassPathPackageInfo> info = Sets.newHashSet();
for (String name : subpackageNames) {
info.add(source.getPackageInfo(name));
}
return info;
|
public java.util.Set | getTopLevelClassesRecursive()
Set<Class<?>> set = Sets.newHashSet();
addTopLevelClassesTo(set);
return set;
|
public int | hashCode()
return packageName.hashCode();
|