public abstract static class PackageDescription.AbstractBase extends Object implements PackageDescription
PackageDescription.AbstractBase, PackageDescription.ForLoadedPackage, PackageDescription.Simple
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
AnnotationSource.Empty, AnnotationSource.Explicit
PACKAGE_CLASS_NAME, PACKAGE_MODIFIERS, UNDEFINED
EMPTY_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 name of this element as it is found in the source code.
|
String |
getInternalName()
Returns the internal internalName of this byte code element.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName
getDeclaredAnnotations
public String getInternalName()
getInternalName
in interface NamedElement.WithRuntimeName
public String getActualName()
getActualName
in interface NamedElement
public boolean contains(TypeDescription typeDescription)
contains
in interface PackageDescription
typeDescription
- The type to examine.true
if the given type contains the provided type.Copyright © 2014–2020. All rights reserved.