CClassInfoParentpublic 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 | Description |
|---|---|---|
com.sun.codemodel.JPackage |
pkg |
| Constructor | Description |
|---|---|
Package(com.sun.codemodel.JPackage pkg) |
| Modifier and Type | Method | 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()
CClassInfoParentfullName in interface CClassInfoParentpublic <T> T accept(CClassInfoParent.Visitor<T> visitor)
accept in interface CClassInfoParentpublic com.sun.codemodel.JPackage getOwnerPackage()
CClassInfoParentJPackage.getOwnerPackage in interface CClassInfoParentCopyright © 2018 Oracle Corporation. All rights reserved.