public static class PackageDescription.ForLoadedPackage extends PackageDescription.AbstractBase
Package wrapped as a
PackageDescription.PackageDescription.AbstractBase, PackageDescription.ForLoadedPackage, PackageDescription.SimpleNamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameAnnotationSource.Empty, AnnotationSource.Explicit| Modifier and Type | Field and Description |
|---|---|
private java.lang.Package |
aPackage
The represented package.
|
PACKAGE_CLASS_NAME, PACKAGE_MODIFIERS, UNDEFINEDEMPTY_NAME, NO_NAME| Constructor and Description |
|---|
ForLoadedPackage(java.lang.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.
|
java.lang.String |
getName()
Returns the internalName of this byte code element.
|
contains, equals, getActualName, getInternalName, hashCode, toStringpublic ForLoadedPackage(java.lang.Package aPackage)
aPackage - The represented package.public AnnotationList getDeclaredAnnotations()
public java.lang.String getName()