| Package | Description |
|---|---|
| net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
| net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
| net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
| net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescriptions without
loading any classes. |
| net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder<?> |
ByteBuddy.rebase(PackageDescription aPackage,
ClassFileLocator classFileLocator)
Rebases a package.
|
| Modifier and Type | Class 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.
|
| Modifier and Type | Field and Description |
|---|---|
static PackageDescription |
PackageDescription.UNDEFINED
A named constant for an undefined package what applies for primitive and array types.
|
| Modifier and Type | Method and Description |
|---|---|
PackageDescription |
TypeDescription.getPackage()
Returns the package of the type described by this instance or
null if the described type does not imply a package. |
PackageDescription |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getPackage()
Returns the package of the type described by this instance or
null if the described type does not imply a package. |
PackageDescription |
TypeDescription.ForLoadedType.getPackage()
Returns the package of the type described by this instance or
null if the described type does not imply a package. |
PackageDescription |
TypeDescription.ArrayProjection.getPackage()
Returns the package of the type described by this instance or
null if the described type does not imply a package. |
PackageDescription |
TypeDescription.Latent.getPackage()
Returns the package of the type described by this instance or
null if the described type does not imply a package. |
PackageDescription |
TypeDescription.ForPackageDescription.getPackage()
Returns the package of the type described by this instance or
null if the described type does not imply a package. |
PackageDescription |
TypeDescription.SuperTypeLoading.getPackage()
Returns the package of the type described by this instance or
null if the described type does not imply a package. |
| Constructor and Description |
|---|
ForPackageDescription(PackageDescription packageDescription)
Creates a new type description of a package description.
|
| Modifier and Type | Method and Description |
|---|---|
PackageDescription |
InstrumentedType.Default.getPackage()
Returns the package of the type described by this instance or
null if the described type does not imply a package. |
PackageDescription |
InstrumentedType.Frozen.getPackage()
Returns the package of the type described by this instance or
null if the described type does not imply a package. |
| Modifier and Type | Method and Description |
|---|---|
PackageDescription |
TypePool.Default.LazyTypeDescription.getPackage()
Returns the package of the type described by this instance or
null if the described type does not imply a package. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
JavaModule.isExported(PackageDescription packageDescription,
JavaModule module)
Returns
true if this module exports the supplied package to this module. |
boolean |
JavaModule.isOpened(PackageDescription packageDescription,
JavaModule module)
Returns
true if this module opens the supplied package to this module. |
Copyright © 2014–2019. All rights reserved.