public interface JavaPackage extends JavaModel, JavaAnnotatedElement
| Modifier and Type | Method and Description |
|---|---|
JavaClass |
getClassByName(java.lang.String name)
Try to get any class of this package by name.
|
java.util.Collection<JavaClass> |
getClasses()
Returns all the classes found for the package.
|
ClassLibrary |
getJavaClassLibrary()
The
ClassLibrary of this package. |
java.lang.String |
getName()
Equivalent of
Package.getName() |
JavaPackage |
getParentPackage()
The parent of this package
For instance: the package of
java.lang.reflect is java.lang |
java.util.Collection<JavaPackage> |
getSubPackages()
For instance: one of the children of
java.lang would be java.lang.reflect |
java.lang.String |
toString()
Equivalent of
Package.toString() |
getAnnotations, getComment, getNamedParameter, getTagByName, getTags, getTagsByNamegetCodeBlock, getLineNumberjava.util.Collection<JavaClass> getClasses()
nullJavaClass getClassByName(java.lang.String name)
name - the (fully qualified) name of the classnullJavaPackage getParentPackage()
java.lang.reflect is java.langnulljava.util.Collection<JavaPackage> getSubPackages()
java.lang would be java.lang.reflectnulljava.lang.String getName()
Package.getName()nullClassLibrary getJavaClassLibrary()
ClassLibrary of this package.nulljava.lang.String toString()
Package.toString()toString in class java.lang.ObjectCopyright © 2002-2018. All Rights Reserved.