@HashCodeAndEqualsPlugin.Enhance protected static class AccessControllerPlugin.AccessControlWrapper extends Object implements AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper
AccessController which is weaved.| Modifier and Type | Class and Description |
|---|---|
protected static class |
AccessControllerPlugin.AccessControlWrapper.PrefixingMethodVisitor
A method visitor to implement a weaved method to dispatch to an
java.security.AccessController, if available. |
| Modifier | Constructor and Description |
|---|---|
protected |
AccessControlWrapper(String name)
Creates a new access control wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
MethodVisitor |
wrap(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
MethodVisitor methodVisitor,
Implementation.Context implementationContext,
TypePool typePool,
int writerFlags,
int readerFlags)
Wraps a method visitor.
|
protected AccessControlWrapper(String name)
name - The name of the field.public MethodVisitor wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags)
wrap in interface AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapperinstrumentedType - The instrumented type.instrumentedMethod - The method that is currently being defined.methodVisitor - The original field visitor that defines the given method.implementationContext - The implementation context to use.typePool - The type pool to use.writerFlags - The ASM ClassWriter reader flags to consider.readerFlags - The ASM ClassReader reader flags to consider.Copyright © 2014–2023. All rights reserved.