Add an annotationType Declaration to this package
Parameters: name - Name of the annotation Type declaration to be added to this packagenewly created Annotation Type Declaration exception: JClassAlreadyExistsException - When the specified class/interface was already created.
Add a new class to this package/class.
Parameters: mods - Modifiers for this class declaration Parameters: name - Name of class to be added to this package Newly generated class exception: JClassAlreadyExistsException - When the specified class/interface was already created.
Add a public enum to this package
Parameters: name - Name of the enum to be added to this packagenewly created Enum exception: JClassAlreadyExistsException - When the specified class/interface was already created.
Add an interface to this class/package.
Parameters: mods - Modifiers for this interface declaration Parameters: name - Name of interface to be added to this package Newly generated interface exception: JClassAlreadyExistsException - When the specified class/interface was already created.
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.