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.
|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForAssignment.Factory
A factory for creating a step for a dynamic type assignment.
|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Factory
A factory for creating a delegating step during a member substitution.
|
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.ForAssignment.castTo(Type type)
Creates a step factory that casts the current stack top value to the specified type.
|
static MemberSubstitution.Substitution.Chain.Step.Factory |
MemberSubstitution.Substitution.Chain.Step.ForAssignment.castTo(TypeDescription.Generic typeDescription)
Creates a step factory that casts the current stack top value to the specified type.
|
static MemberSubstitution.Substitution.Chain.Step.Factory |
MemberSubstitution.Substitution.Chain.Step.ForAssignment.castToSubstitutionResult()
Creates a step factory that casts the current stack top value to the expected return value.
|
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.
|
static MemberSubstitution.Substitution.Chain.Step.Factory |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.to(Constructor<?> constructor)
Returns a delegating step factory for the supplied constructor.
|
MemberSubstitution.Substitution.Chain.Step.Factory |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.to(Constructor<?> constructor)
Returns a delegating step factory for the supplied constructor.
|
static MemberSubstitution.Substitution.Chain.Step.Factory |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.to(Method method)
Returns a delegating step factory for the supplied method.
|
MemberSubstitution.Substitution.Chain.Step.Factory |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.to(Method method)
Returns a delegating step factory for the supplied method.
|
static MemberSubstitution.Substitution.Chain.Step.Factory |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.to(MethodDescription.InDefinedShape methodDescription)
Returns a delegating step factory for the supplied method description..
|
MemberSubstitution.Substitution.Chain.Step.Factory |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.to(MethodDescription.InDefinedShape methodDescription)
Returns a delegating step factory for the supplied method description.
|
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–2024. All rights reserved.