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
TypeDescription s without
loading any classes. |
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
Represents any undefined property of a type description that is instead represented as
null in order
to resemble the Java reflection API which returns null and is intuitive to many Java developers. |
Modifier and Type | Method and Description |
---|---|
PackageDescription |
TypeDescription.getPackage()
Returns the package internalName of the type described by this instance.
|
PackageDescription |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getPackage() |
PackageDescription |
TypeDescription.ForLoadedType.getPackage() |
PackageDescription |
TypeDescription.ArrayProjection.getPackage() |
PackageDescription |
TypeDescription.Latent.getPackage() |
PackageDescription |
TypeDescription.ForPackageDescription.getPackage() |
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() |
Modifier and Type | Method and Description |
---|---|
PackageDescription |
TypePool.Default.LazyTypeDescription.getPackage() |
Copyright © 2014–2016. All rights reserved.