public static class PackageDescription.ForLoadedPackage extends PackageDescription.AbstractPackageDescription
Package wrapped as a
PackageDescription.PackageDescription.AbstractPackageDescription, PackageDescription.ForLoadedPackage, PackageDescription.SimpleEMPTY_NAME| Modifier | Constructor and Description |
|---|---|
protected |
ForLoadedPackage(Package aPackage)
Creates a new loaded package representation.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
String |
getName()
Returns the internalName of this byte code element.
|
boolean |
isSealed()
Checks if this package description represents a sealed package.
|
equals, getInternalName, getSourceCodeName, hashCode, toStringprotected ForLoadedPackage(Package aPackage)
aPackage - The represented package.public AnnotationList getDeclaredAnnotations()
AnnotatedCodeElementpublic String getName()
NamedElementpublic boolean isSealed()
PackageDescriptiontrue if this package is sealed.Copyright © 2014–2015. All rights reserved.