org.codehaus.jam
Interface JPackage

All Superinterfaces:
JAnnotatedElement, JElement
All Known Subinterfaces:
MPackage

public interface JPackage
extends JAnnotatedElement

Represents a java package. Provides access to information about the package, the package's comment and tags, and the classes in the package.

FIXME how are we handling the default package? i think it should be a package with an empty string for a name, but we need to make sure this works and document it.

Author:
Patrick Calahan <email: pcal-at-bea-dot-com>

Method Summary
 JClass[] getClasses()
          Returns the classes in this package which were specified as part of the JRoot construction.
 
Methods inherited from interface org.codehaus.jam.JAnnotatedElement
getAllJavadocTags, getAnnotation, getAnnotation, getAnnotations, getAnnotationValue, getComment
 
Methods inherited from interface org.codehaus.jam.JElement
accept, getArtifact, getParent, getQualifiedName, getSimpleName, getSourcePosition, isSourceAvailable, toString
 

Method Detail

getClasses

JClass[] getClasses()
Returns the classes in this package which were specified as part of the JRoot construction. Note that this does not necessarily include all of the classes that are actually in the package (it may not contain any specified classes at all).