Package | Description |
---|---|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
net.bytebuddy.build |
A package for types that allow for applying Byte Buddy transformation during a build process.
|
Modifier and Type | Method and Description |
---|---|
static AgentBuilder |
AgentBuilder.Default.of(ClassFileVersion classFileVersion,
Plugin... plugin)
Creates an
AgentBuilder that realizes the provided build plugins. |
static AgentBuilder |
AgentBuilder.Default.of(EntryPoint entryPoint,
ClassFileVersion classFileVersion,
Plugin... plugin)
Creates an
AgentBuilder that realizes the provided build plugins. |
static AgentBuilder |
AgentBuilder.Default.of(EntryPoint entryPoint,
Plugin... plugin)
Creates an
AgentBuilder that realizes the provided build plugins. |
static AgentBuilder |
AgentBuilder.Default.of(Plugin... plugin)
Creates an
AgentBuilder that realizes the provided build plugins. |
Modifier and Type | Method and Description |
---|---|
static AgentBuilder |
AgentBuilder.Default.of(ClassFileVersion classFileVersion,
List<? extends Plugin> plugins)
Creates an
AgentBuilder that realizes the provided build plugins. |
static AgentBuilder |
AgentBuilder.Default.of(EntryPoint entryPoint,
ClassFileVersion classFileVersion,
List<? extends Plugin> plugins)
Creates an
AgentBuilder that realizes the provided build plugins. |
static AgentBuilder |
AgentBuilder.Default.of(EntryPoint entryPoint,
List<? extends Plugin> plugins)
Creates an
AgentBuilder that realizes the provided build plugins. |
static AgentBuilder |
AgentBuilder.Default.of(List<? extends Plugin> plugins)
Creates an
AgentBuilder that realizes the provided build plugins. |
Constructor and Description |
---|
ForBuildPlugin(Plugin plugin)
Creates a new transformer for a build
Plugin . |
Modifier and Type | Class and Description |
---|---|
class |
HashCodeAndEqualsPlugin
A build tool plugin that adds
Object.hashCode() and Object.equals(Object) methods to a class if the
HashCodeAndEqualsPlugin.Enhance annotation is present and no explicit method declaration was added. |
static class |
HashCodeAndEqualsPlugin.WithNonNullableFields
A version of the
HashCodeAndEqualsPlugin that assumes that all fields are non-nullable unless they are explicitly marked. |
class |
ToStringPlugin
A build tool plugin that adds a
Object.toString() and method to a class if the ToStringPlugin.Enhance annotation is present and no
explicit method declaration was added. |
Copyright © 2014–2018. All rights reserved.