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.Replacement.ForElementMatchers
A replacement that substitutes a member based on a row of element matchers.
|
static class |
MemberSubstitution.Replacement.ForFirstBinding
A replacement that only resolves the first matching replacement of a list of replacements.
|
static class |
MemberSubstitution.Replacement.NoOp
A non-operational replacement.
|
Modifier and Type | Method and Description |
---|---|
MemberSubstitution.Replacement |
MemberSubstitution.Replacement.Factory.make(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
TypePool typePool)
Creates a replacement for an instrumented method.
|
MemberSubstitution.Replacement |
MemberSubstitution.Replacement.Factory.Compound.make(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
TypePool typePool)
Creates a replacement for an instrumented method.
|
MemberSubstitution.Replacement |
MemberSubstitution.Replacement.NoOp.make(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
TypePool typePool)
Creates a replacement for an instrumented method.
|
MemberSubstitution.Replacement |
MemberSubstitution.Replacement.ForElementMatchers.Factory.make(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
TypePool typePool)
Creates a replacement for an instrumented method.
|
Constructor and Description |
---|
SubstitutingMethodVisitor(MethodVisitor methodVisitor,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
MethodGraph.Compiler methodGraphCompiler,
boolean strict,
MemberSubstitution.Replacement replacement,
Implementation.Context implementationContext,
TypePool typePool,
boolean virtualPrivateCalls)
Creates a new substituting method visitor.
|
Constructor and Description |
---|
ForFirstBinding(List<? extends MemberSubstitution.Replacement> replacements)
Creates a new replacement that triggers the first matching replacement, if any.
|
Copyright © 2014–2020. All rights reserved.