public class XPackage extends XAnnotatedElement<Package>
| Constructor and Description |
|---|
XPackage(Package targetPackage,
XAnnotation[] xannotations,
XClass[] xclasses)
Constructs an annotated package.
|
| Modifier and Type | Method and Description |
|---|---|
XClass[] |
getClasses()
Returns annotated classes of the package.
|
Package |
getPackage()
Returns the target package.
|
getAnnotatedElement, getAnnotation, getDeclaredAnnotations, isAnnotationPresentequals, getAnnotations, getXAnnotations, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotationspublic static final XPackage VOID
public XPackage(Package targetPackage, XAnnotation[] xannotations, XClass[] xclasses)
targetPackage - target package.xannotations - package annotations, may be null.Copyright © 2006-2012 Highsource. All Rights Reserved.