public static class PackageDescription.Simple extends PackageDescription.AbstractPackageDescription
PackageDescription.AbstractPackageDescription, PackageDescription.ForLoadedPackage, PackageDescription.Simple| Constructor and Description |
|---|
Simple(String name)
Creates a new simple package.
|
| 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, hashCode, toStringpublic Simple(String name)
name - The name of the package.public AnnotationList getDeclaredAnnotations()
AnnotatedElementpublic String getName()
NamedElementpublic boolean isSealed()
PackageDescriptiontrue if this package is sealed.Copyright © 2014. All rights reserved.