Package | Description |
---|---|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
Modifier and Type | Class and Description |
---|---|
static class |
MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading
A step that loads an argument to a method as the current chain value.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.Factory
A factory to create an argument substitution step.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForField.Read.Factory
A factory for creating a field read step in a chain.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForField.Write.Factory
A factory for creating a step to write to a field.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForInvocation.Factory
A factory to create a step for a method invocation.
|
static class |
MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression
A step that executes the original method invocation or field access.
|
static class |
MemberSubstitution.Substitution.Chain.Step.Simple
A simple substitution step within a substitution chain.
|
Modifier and Type | Method and Description |
---|---|
static MemberSubstitution.Substitution.Chain.Step.Factory |
MemberSubstitution.Substitution.Chain.Step.Simple.of(Object value)
Resolves a compile-time constant as the next step value.
|
static MemberSubstitution.Substitution.Chain.Step.Factory |
MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.of(Object value,
int index)
Resolves a step substitution factory for a compile-time constant to replace an argument value at a given index.
|
Modifier and Type | Method and Description |
---|---|
MemberSubstitution.Substitution.Chain.Factory |
MemberSubstitution.Substitution.Chain.Factory.executing(MemberSubstitution.Substitution.Chain.Step.Factory... step)
Appends the supplied steps to the substitution chain.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWithChain(MemberSubstitution.Substitution.Chain.Step.Factory... step)
Replaces the matched byte code elements with a chain of substitutions that can operate on the same values as the substituted element.
|
Modifier and Type | Method and Description |
---|---|
MemberSubstitution.Substitution.Chain.Factory |
MemberSubstitution.Substitution.Chain.Factory.executing(List<? extends MemberSubstitution.Substitution.Chain.Step.Factory> steps)
Appends the supplied steps to the substitution chain.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWithChain(List<? extends MemberSubstitution.Substitution.Chain.Step.Factory> steps)
Replaces the matched byte code elements with a chain of substitutions that can operate on the same values as the substituted element.
|
Constructor and Description |
---|
Factory(Assigner assigner,
Assigner.Typing typing,
List<MemberSubstitution.Substitution.Chain.Step.Factory> steps)
Creates a new factory for a substitution chain.
|
Copyright © 2014–2023. All rights reserved.