public static class PackageDescription.ForLoadedPackage extends PackageDescription.AbstractBase
Package
wrapped as a
PackageDescription
.PackageDescription.AbstractBase, PackageDescription.ForLoadedPackage, PackageDescription.Simple
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
AnnotationSource.Empty, AnnotationSource.Explicit
DEFAULT, PACKAGE_CLASS_NAME, PACKAGE_MODIFIERS, UNDEFINED
EMPTY_NAME, NO_NAME
Constructor and Description |
---|
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 binary name of this byte code element.
|
contains, equals, getActualName, getInternalName, hashCode, isDefault, toString
public ForLoadedPackage(Package aPackage)
aPackage
- The represented package.public AnnotationList getDeclaredAnnotations()
public String getName()
Copyright © 2014–1970. All rights reserved.