public static class PackageDescription.Simple extends PackageDescription.AbstractBase
PackageDescription.AbstractBase, PackageDescription.ForLoadedPackage, PackageDescription.SimpleNamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameAnnotationSource.Empty, AnnotationSource.ExplicitDEFAULT, PACKAGE_CLASS_NAME, PACKAGE_MODIFIERS, UNDEFINEDEMPTY_NAME, NO_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 binary name of this byte code element.
|
contains, equals, getActualName, getInternalName, hashCode, isDefault, toStringpublic Simple(String name)
name - The name of the package.public AnnotationList getDeclaredAnnotations()
public String getName()
Copyright © 2014–2025. All rights reserved.