public interface ProjectInfo extends EntityContainer, HasPackages, HasContextFilter, HasMetrics
Modifier and Type | Method and Description |
---|---|
ClassInfo |
findClass(java.lang.String fullyQualifiedName)
Searches and returns a class having the specified fully qualified name
|
FileInfo |
findFile(java.lang.String pkgPath)
Searches and returns a file at the specified relative path.
|
java.lang.String |
getName()
Returns name of the project
|
boolean |
isEmpty()
Returns true if project is empty.
|
visit
findPackage, getAllPackages
getContextFilter
getMetrics, getRawMetrics, setMetrics
java.lang.String getName()
getName
in interface HasMetrics
null
boolean isEmpty()
ClassInfo findClass(java.lang.String fullyQualifiedName)
fullyQualifiedName
- a class name with its packagenull
if not foundFileInfo findFile(java.lang.String pkgPath)
com/acme/Foo.java
pkgPath
- file name prefixed by a package pathnull
if not found