Package com.sun.tools.xjc.model
Class CClassInfoParent.Package
- 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>
-
-
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.JPackagegetOwnerPackage()Gets the nearestJPackage.
-
-
-
Field Detail
-
pkg
public final JPackage pkg
-
-
Constructor Detail
-
Package
public Package(JPackage pkg)
-
-
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 JPackage getOwnerPackage()
Description copied from interface:CClassInfoParentGets the nearestJPackage.- Specified by:
getOwnerPackagein interfaceCClassInfoParent
-
-