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
JPackage as a CClassInfoParent.
Use Model.getPackage(com.sun.codemodel.JPackage) to obtain an instance.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pkg
public final JPackage pkg
CClassInfoParent.Package
public CClassInfoParent.Package(JPackage pkg)
fullName
public String fullName()
- Description copied from interface:
CClassInfoParent
- Returns the fully-qualified name.
- Specified by:
fullName in interface CClassInfoParent
accept
public <T> T accept(CClassInfoParent.Visitor<T> visitor)
- Specified by:
accept in interface CClassInfoParent
getOwnerPackage
public JPackage getOwnerPackage()
- Description copied from interface:
CClassInfoParent
- Gets the nearest
JPackage.
- Specified by:
getOwnerPackage in interface CClassInfoParent
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.