public abstract static class PackageDescription.AbstractBase extends Object implements PackageDescription
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 |
|---|
AbstractBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(TypeDescription typeDescription)
Checks if this package contains the provided type.
|
boolean |
equals(Object other) |
String |
getActualName()
Returns the display name of this element as it is found in the source code.
|
String |
getInternalName()
Returns the internal name of this byte code element.
|
int |
hashCode() |
boolean |
isDefault()
Returns
true if this package description represents the default package. |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamegetDeclaredAnnotationspublic String getInternalName()
getInternalName in interface NamedElement.WithRuntimeNamepublic String getActualName()
getActualName in interface NamedElementpublic boolean contains(TypeDescription typeDescription)
contains in interface PackageDescriptiontypeDescription - The type to examine.true if the given type contains the provided type.public boolean isDefault()
true if this package description represents the default package.isDefault in interface PackageDescriptiontrue if this package description represents the default package.public boolean equals(@MaybeNull Object other)
Copyright © 2014–2025. All rights reserved.