public static final class CClassInfoParent.Package extends 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 | Method and Description |
---|---|
<T> T |
accept(CClassInfoParent.Visitor<T> visitor) |
String |
fullName()
Returns the fully-qualified name.
|
JPackage |
getOwnerPackage()
Gets the nearest
JPackage . |
public final JPackage pkg
public Package(JPackage pkg)
public String fullName()
CClassInfoParent
fullName
in interface CClassInfoParent
public <T> T accept(CClassInfoParent.Visitor<T> visitor)
accept
in interface CClassInfoParent
public JPackage getOwnerPackage()
CClassInfoParent
JPackage
.getOwnerPackage
in interface CClassInfoParent
Copyright © 2017 JBoss by Red Hat. All rights reserved.