Package | Description |
---|---|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
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.implementation.attribute |
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.RecordComponentDefinition.Optional<S> |
DynamicType.Builder.RecordComponentDefinition.attribute(RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory)
Applies the supplied record component attribute appender factory onto the previously defined record component.
|
DynamicType.Builder.RecordComponentDefinition.Optional<U> |
DynamicType.Builder.AbstractBase.Adapter.RecordComponentDefinitionAdapter.attribute(RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory)
Applies the supplied record component attribute appender factory onto the previously defined record component.
|
DynamicType.Builder.RecordComponentDefinition.Optional<U> |
DynamicType.Builder.AbstractBase.Adapter.RecordComponentMatchAdapter.attribute(RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory)
Applies the supplied record component attribute appender factory onto the previously defined record component.
|
Constructor and Description |
---|
RecordComponentDefinitionAdapter(RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory,
Transformer<RecordComponentDescription> transformer,
RecordComponentDescription.Token token)
Creates a new record component definition adapter.
|
RecordComponentMatchAdapter(LatentMatcher<? super RecordComponentDescription> matcher,
RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory,
Transformer<RecordComponentDescription> transformer)
Creates a new record component match adapter.
|
Modifier and Type | Method and Description |
---|---|
protected RecordComponentAttributeAppender.Factory |
RecordComponentRegistry.Default.Entry.getRecordComponentAttributeAppender()
Returns the record component attribute appender factory to apply on any matched record component.
|
Modifier and Type | Method and Description |
---|---|
RecordComponentRegistry |
RecordComponentRegistry.prepend(LatentMatcher<? super RecordComponentDescription> matcher,
RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory,
Transformer<RecordComponentDescription> transformer)
Prepends the given record component definition to this record component registry, i.e.
|
RecordComponentRegistry |
RecordComponentRegistry.Default.prepend(LatentMatcher<? super RecordComponentDescription> matcher,
RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory,
Transformer<RecordComponentDescription> transformer)
Prepends the given record component definition to this record component registry, i.e.
|
Constructor and Description |
---|
Entry(LatentMatcher<? super RecordComponentDescription> matcher,
RecordComponentAttributeAppender.Factory recordComponentAttributeAppender,
Transformer<RecordComponentDescription> transformer)
Creates a new entry.
|
Modifier and Type | Class and Description |
---|---|
static class |
RecordComponentAttributeAppender.Explicit
Appends an annotation to a record component.
|
static class |
RecordComponentAttributeAppender.Factory.Compound
A record component attribute appender factory that combines several record component attribute appender factories to be
represented as a single factory.
|
static class |
RecordComponentAttributeAppender.ForInstrumentedRecordComponent
An attribute appender that writes all annotations that are declared on a record component.
|
static class |
RecordComponentAttributeAppender.NoOp
A record component attribute appender that does not append any attributes.
|
Constructor and Description |
---|
Compound(RecordComponentAttributeAppender.Factory... factory)
Creates a new compound record component attribute appender factory.
|
Constructor and Description |
---|
Compound(List<? extends RecordComponentAttributeAppender.Factory> factories)
Creates a new compound record component attribute appender factory.
|
Copyright © 2014–2020. All rights reserved.