Package | Description |
---|---|
net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
Modifier and Type | Class and Description |
---|---|
static class |
NamingStrategy.AbstractBase
An abstract base implementation where the names of redefined and rebased types are retained.
|
static class |
NamingStrategy.PrefixingRandom
A naming strategy that creates a name by prefixing a given class and its package with another package and
by appending a random number to the class's simple name.
|
static class |
NamingStrategy.SuffixingRandom
A naming strategy that creates a name by concatenating:
The super classes package and name
A given suffix string
A random number
Between all these elements, a
$ sign is included into the name to improve readability. |
Modifier and Type | Field and Description |
---|---|
protected NamingStrategy |
ByteBuddy.namingStrategy
The naming strategy to use.
|
Modifier and Type | Method and Description |
---|---|
ByteBuddy |
ByteBuddy.with(NamingStrategy namingStrategy)
Creates a new configuration where new types are named by applying the given naming strategy.
|
Constructor and Description |
---|
ByteBuddy(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
Implementation.Context.Factory implementationContextFactory,
MethodGraph.Compiler methodGraphCompiler,
InstrumentedType.Factory instrumentedTypeFactory,
TypeValidation typeValidation,
VisibilityBridgeStrategy visibilityBridgeStrategy,
ClassWriterStrategy classWriterStrategy,
LatentMatcher<? super MethodDescription> ignoredMethods)
Creates a new Byte Buddy instance.
|
Copyright © 2014–2020. All rights reserved.