@HashCodeAndEqualsPlugin.Enhance protected static class AccessControllerPlugin.Initializer.WithProperty extends AccessControllerPlugin.Initializer
AccessControllerPlugin.Initializer.WithoutProperty, AccessControllerPlugin.Initializer.WithPropertyByteCodeAppender.Compound, ByteCodeAppender.Simple, ByteCodeAppender.Size| Modifier | Constructor and Description |
|---|---|
protected |
WithProperty(TypeDescription instrumentedType,
String name,
String property)
Creates an initializer that uses a property to determine if the access controller should be actually used even if it is available.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
onAccessController(MethodVisitor methodVisitor)
Invoked to determine if the access controller should be used after the class was found.
|
applyprotected WithProperty(TypeDescription instrumentedType, String name, String property)
instrumentedType - The instrumented type.name - The name of the field to determine the use of access controller dispatch.property - The name of the property.protected int onAccessController(MethodVisitor methodVisitor)
AccessControllerPlugin.InitializeronAccessController in class AccessControllerPlugin.InitializermethodVisitor - The method visitor to dispatch to.Copyright © 2014–2023. All rights reserved.