public static interface ClassInjector.UsingUnsafe.Factory.AccessResolver
AccessibleObject.setAccessible(boolean)
to true
in a given privilege scope.Modifier and Type | Interface and Description |
---|---|
static class |
ClassInjector.UsingUnsafe.Factory.AccessResolver.Default
A default access resolver that uses Byte Buddy's privilege scope.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(AccessibleObject accessibleObject)
Applies this access resolver.
|
void apply(AccessibleObject accessibleObject)
accessibleObject
- The accessible object to make accessible.Copyright © 2014–2024. All rights reserved.