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, isAnnotationPresent
equals, getAnnotations, getXAnnotations, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotations
public static final XPackage VOID
public XPackage(Package targetPackage, XAnnotation[] xannotations, XClass[] xclasses)
targetPackage
- target package.xannotations
- package annotations, may be null
.Copyright © 2006–2013 Highsource. All rights reserved.