Class PackageDescriptor
java.lang.Object
com.google.gwt.core.ext.soyc.coderef.PackageDescriptor
It contains all packages and they reference to classes
ClassDescriptor
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addClass
(ClassDescriptor cls) void
static PackageDescriptor
from
(Map<String, ClassDescriptor> codeModel) Creates a package descriptor from a code model (mapping between class names and class descriptors).Returns all classes in this package and its subpackages in a form of mapping between qualified class name and class descriptor.Returns the list of classes in this packages without including subpackages.getName()
Returns the list of subpackages.
-
Field Details
-
DEFAULT_PKG
- See Also:
-
-
Constructor Details
-
PackageDescriptor
-
-
Method Details
-
from
Creates a package descriptor from a code model (mapping between class names and class descriptors). -
getAllClassesByName
Returns all classes in this package and its subpackages in a form of mapping between qualified class name and class descriptor. -
addClass
-
addPackage
-
getClasses
Returns the list of classes in this packages without including subpackages. -
getName
-
getPackages
Returns the list of subpackages.
-