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 |
---|---|
protected static class |
MemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement
Describes a member substitution that requires a specification for how to replace a byte code element.
|
static class |
MemberSubstitution.WithoutSpecification.ForMatchedField
Describes a member substitution that requires a specification for how to replace a field.
|
static class |
MemberSubstitution.WithoutSpecification.ForMatchedMethod
Describes a member substitution that requires a specification for how to replace a method or constructor.
|
Modifier and Type | Method and Description |
---|---|
MemberSubstitution.WithoutSpecification |
MemberSubstitution.constructor(ElementMatcher<? super MethodDescription> matcher)
Substitutes any constructor invocation that matches the given matcher.
|
MemberSubstitution.WithoutSpecification |
MemberSubstitution.element(ElementMatcher<? super ByteCodeElement> matcher)
Substitutes any interaction with a field or method that matches the given matcher.
|
MemberSubstitution.WithoutSpecification |
MemberSubstitution.invokable(ElementMatcher<? super MethodDescription> matcher)
Substitutes any method or constructor invocation that matches the given matcher.
|
MemberSubstitution.WithoutSpecification |
MemberSubstitution.WithoutSpecification.ForMatchedField.onRead()
When invoked, only read access of the previously matched field is substituted.
|
MemberSubstitution.WithoutSpecification |
MemberSubstitution.WithoutSpecification.ForMatchedMethod.onSuperCall()
Limits the substituted method calls to method calls that invoke a method as a
super call. |
MemberSubstitution.WithoutSpecification |
MemberSubstitution.WithoutSpecification.ForMatchedMethod.onVirtualCall()
Limits the substituted method calls to method calls that invoke a method virtually (as opposed to a
super invocation). |
MemberSubstitution.WithoutSpecification |
MemberSubstitution.WithoutSpecification.ForMatchedField.onWrite()
When invoked, only write access of the previously matched field is substituted.
|
Copyright © 2014–2020. All rights reserved.