| com.sun.codemodel.JClassContainer
All known Subclasses: com.sun.codemodel.JPackage, com.sun.codemodel.JDefinedClass,
JClassContainer | public interface JClassContainer (Code) | | The common aspect of a package and a class.
|
getPackage | public JPackage getPackage()(Code) | | Gets the nearest package parent.
If this.isPackage(), then return this.
|
isClass | boolean isClass()(Code) | | Returns true if the container is a class.
|
isPackage | boolean isPackage()(Code) | | Returns true if the container is a package.
|
parentContainer | public JClassContainer parentContainer()(Code) | | Parent JClassContainer.
If this is a package, this method returns a parent package,
or null if this package is the root package.
If this is an outer-most class, this method returns a package
to which it belongs.
If this is an inner class, this method returns the outer
class.
|
|
|