public interface PackageDescription extends NamedElement.WithRuntimeName, AnnotationSource
| Modifier and Type | Interface and Description |
|---|---|
static class |
PackageDescription.AbstractBase
An abstract base implementation of a package description.
|
static class |
PackageDescription.ForLoadedPackage
Represents a loaded
Package wrapped as a
PackageDescription. |
static class |
PackageDescription.Simple
A simple implementation of a package without annotations.
|
NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameAnnotationSource.Empty, AnnotationSource.Explicit| Modifier and Type | Field and Description |
|---|---|
static String |
PACKAGE_CLASS_NAME
The name of a Java class representing a package description.
|
static int |
PACKAGE_MODIFIERS
The modifiers of a Java class representing a package description.
|
static PackageDescription |
UNDEFINED
A named constant for an undefined package what applies for primitive and array types.
|
EMPTY_NAME, NO_NAME| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(TypeDescription typeDescription)
Checks if this package contains the provided type.
|
getInternalName, getNamegetActualNamegetDeclaredAnnotationsstatic final String PACKAGE_CLASS_NAME
static final int PACKAGE_MODIFIERS
static final PackageDescription UNDEFINED
boolean contains(TypeDescription typeDescription)
typeDescription - The type to examine.true if the given type contains the provided type.Copyright © 2014–2019. All rights reserved.