@HashCodeAndEqualsPlugin.Enhance protected static class AccessControllerPlugin.Initializer.WithoutProperty extends AccessControllerPlugin.Initializer
AccessControllerPlugin.Initializer.WithoutProperty, AccessControllerPlugin.Initializer.WithProperty
ByteCodeAppender.Compound, ByteCodeAppender.Simple, ByteCodeAppender.Size
Modifier | Constructor and Description |
---|---|
protected |
WithoutProperty(TypeDescription instrumentedType,
String name)
Creates an initializer that always uses the access controller 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.
|
apply
protected WithoutProperty(TypeDescription instrumentedType, String name)
instrumentedType
- The instrumented type.name
- The name of the field to determine the use of access controller dispatch.protected int onAccessController(MethodVisitor methodVisitor)
AccessControllerPlugin.Initializer
onAccessController
in class AccessControllerPlugin.Initializer
methodVisitor
- The method visitor to dispatch to.Copyright © 2014–2024. All rights reserved.