public static final class CClassInfoParent.Package extends java.lang.Object implements CClassInfoParent
JPackage
as a CClassInfoParent
.
Use Model.getPackage(com.sun.codemodel.JPackage)
to obtain an instance.CClassInfoParent.Package, CClassInfoParent.Visitor<T>
Modifier and Type | Field and Description |
---|---|
com.sun.codemodel.JPackage |
pkg |
Constructor and Description |
---|
Package(com.sun.codemodel.JPackage pkg) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(CClassInfoParent.Visitor<T> visitor) |
java.lang.String |
fullName()
Returns the fully-qualified name.
|
com.sun.codemodel.JPackage |
getOwnerPackage()
Gets the nearest
JPackage . |
public java.lang.String fullName()
CClassInfoParent
fullName
in interface CClassInfoParent
public <T> T accept(CClassInfoParent.Visitor<T> visitor)
accept
in interface CClassInfoParent
public com.sun.codemodel.JPackage getOwnerPackage()
CClassInfoParent
JPackage
.getOwnerPackage
in interface CClassInfoParent