Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

com.bea.util.jam
Interface JPackage

All Superinterfaces:
JAnnotatedElement, JElement

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.


Method Summary
 JClass[] getClasses()
          Returns the classes in this package which were specified as part of the JRoot construction.
 
Methods inherited from interface com.bea.util.jam.JAnnotatedElement
getAllJavadocTags, getAnnotation, getAnnotation, getAnnotations, getAnnotationValue, getComment
 
Methods inherited from interface com.bea.util.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).


Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02