public abstract static class PackageDescription.AbstractBase extends java.lang.Object implements PackageDescription
PackageDescription.AbstractBase, PackageDescription.ForLoadedPackage, PackageDescription.Simple
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(java.lang.Object other) |
java.lang.String |
getActualName()
Returns the name of this element as it is found in the source code.
|
java.lang.String |
getInternalName()
Returns the internal internalName of this byte code element.
|
int |
hashCode() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName
getDeclaredAnnotations
public java.lang.String getInternalName()
getInternalName
in interface NamedElement.WithRuntimeName
public java.lang.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.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object