public class Package extends Object implements ClassTypeContainer
| Constructor and Description |
|---|
Package(String name)
Creates a new package with the given name, organized by
the given program model info.
|
| Modifier and Type | Method and Description |
|---|---|
ClassTypeContainer |
getContainer()
Returns the enclosing package or class type, or method.
|
String |
getFullName()
Returns the name of this package.
|
String |
getName()
Returns the name of this package.
|
Package |
getPackage()
Returns the enclosing package.
|
private String name
public Package(String name)
name - the name of the package.public String getName()
getName in interface NamedModelElementpublic String getFullName()
getFullName in interface ProgramModelElementpublic ClassTypeContainer getContainer()
null.public Package getPackage()
null.