public static class PackageDescription.Simple extends PackageDescription.AbstractBase
PackageDescription.AbstractBase, PackageDescription.ForLoadedPackage, PackageDescription.Simple
NamedElement.WithGenericName, NamedElement.WithRuntimeName
PACKAGE_CLASS_NAME, PACKAGE_MODIFIERS, UNDEFINED
EMPTY_NAME
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.
|
contains, equals, getInternalName, getSourceCodeName, hashCode, toString
public Simple(String name)
name
- The name of the package.public AnnotationList getDeclaredAnnotations()
AnnotatedCodeElement
public String getName()
NamedElement.WithRuntimeName
Copyright © 2014–2015. All rights reserved.