- java.lang.Object
-
- com.sun.tools.xjc.model.CClassInfoParent.Package
-
- All Implemented Interfaces:
CClassInfoParent
- Enclosing interface:
- CClassInfoParent
public static final class CClassInfoParent.Package extends Object implements CClassInfoParent
JPackageas aCClassInfoParent. UseModel.getPackage(com.sun.codemodel.JPackage)to obtain an instance.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.sun.tools.xjc.model.CClassInfoParent
CClassInfoParent.Package, CClassInfoParent.Visitor<T>
-
-
Field Summary
Fields Modifier and Type Field Description com.sun.codemodel.JPackagepkg
-
Constructor Summary
Constructors Constructor Description Package(com.sun.codemodel.JPackage pkg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(CClassInfoParent.Visitor<T> visitor)StringfullName()Returns the fully-qualified name.com.sun.codemodel.JPackagegetOwnerPackage()Gets the nearestJPackage.
-
-
-
Method Detail
-
fullName
public String fullName()
Description copied from interface:CClassInfoParentReturns the fully-qualified name.- Specified by:
fullNamein interfaceCClassInfoParent
-
accept
public <T> T accept(CClassInfoParent.Visitor<T> visitor)
- Specified by:
acceptin interfaceCClassInfoParent
-
getOwnerPackage
public com.sun.codemodel.JPackage getOwnerPackage()
Description copied from interface:CClassInfoParentGets the nearestJPackage.- Specified by:
getOwnerPackagein interfaceCClassInfoParent
-
-