Package | Description |
---|---|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
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.matcher |
Contains an API for matching Java byte code entities.
|
Modifier and Type | Method and Description |
---|---|
RecordComponentDescription.Token |
RecordComponentDescription.Token.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Transforms the types represented by this token by applying the given visitor to them.
|
RecordComponentDescription.Token |
RecordComponentDescription.asToken(ElementMatcher<? super TypeDescription> matcher)
Resolves this record component to a token where all types are detached.
|
RecordComponentDescription.Token |
RecordComponentDescription.AbstractBase.asToken(ElementMatcher<? super TypeDescription> matcher)
Resolves this record component to a token where all types are detached.
|
Modifier and Type | Method and Description |
---|---|
ByteCodeElement.Token.TokenList<RecordComponentDescription.Token> |
RecordComponentList.asTokenList(ElementMatcher<? super TypeDescription> matcher)
Transforms the list of record component descriptions into a list of detached tokens.
|
ByteCodeElement.Token.TokenList<RecordComponentDescription.Token> |
RecordComponentList.AbstractBase.asTokenList(ElementMatcher<? super TypeDescription> matcher)
Transforms the list of record component descriptions into a list of detached tokens.
|
ByteCodeElement.Token.TokenList<RecordComponentDescription.Token> |
RecordComponentList.Empty.asTokenList(ElementMatcher<? super TypeDescription> matcher)
Transforms the list of record component descriptions into a list of detached tokens.
|
Constructor and Description |
---|
ForTokens(TypeDescription typeDescription,
RecordComponentDescription.Token... token)
Creates a new list of record components that are described as tokens.
|
Latent(TypeDescription declaringType,
RecordComponentDescription.Token token)
Creates a new latent record component.
|
Constructor and Description |
---|
ForTokens(TypeDescription typeDescription,
List<? extends RecordComponentDescription.Token> tokens)
Creates a new list of record components that are described as tokens.
|
Constructor and Description |
---|
RecordComponentDefinitionAdapter(RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory,
Transformer<RecordComponentDescription> transformer,
RecordComponentDescription.Token token)
Creates a new record component definition adapter.
|
RecordComponentDefinitionAdapter(RecordComponentDescription.Token token)
Creates a new record component definition adapter.
|
Modifier and Type | Method and Description |
---|---|
InstrumentedType |
InstrumentedType.withRecordComponent(RecordComponentDescription.Token token)
Creates a new instrumented type that includes a new record component.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.WithFlexibleName.withRecordComponent(RecordComponentDescription.Token token)
Creates a new instrumented type that includes a new record component.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Default.withRecordComponent(RecordComponentDescription.Token token)
Creates a new instrumented type that includes a new record component.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Frozen.withRecordComponent(RecordComponentDescription.Token token)
Creates a new instrumented type that includes a new record component.
|
Constructor and Description |
---|
Default(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeVariableToken> typeVariables,
List<? extends TypeDescription.Generic> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
List<? extends MethodDescription.Token> methodTokens,
List<? extends RecordComponentDescription.Token> recordComponentTokens,
List<? extends AnnotationDescription> annotationDescriptions,
TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription.InDefinedShape enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
List<? extends TypeDescription> permittedSubclasses,
boolean anonymousClass,
boolean localClass,
boolean record,
TypeDescription nestHost,
List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.
|
Constructor and Description |
---|
ForRecordComponentToken(RecordComponentDescription.Token token)
Creates a latent matcher for a record component token.
|
Copyright © 2014–2020. All rights reserved.