Package | Description |
---|---|
net.bytebuddy.implementation.bytecode.constant |
StackManipulation s in this package are responsible for
creating compile-time constants and pushing them onto the operand stack. |
Modifier and Type | Class and Description |
---|---|
protected static class |
MethodConstant.CanCacheIllegal
Represents a method constant that cannot be represented by Java's reflection API.
|
protected static class |
MethodConstant.ForConstructor
Creates a
MethodConstant for loading
a Constructor instance onto the operand stack. |
protected static class |
MethodConstant.ForMethod
Creates a
MethodConstant for loading
a Method instance onto the operand stack. |
protected static class |
MethodConstant.PrivilegedLookup
Performs a privileged lookup of a method constant by using an
java.security.AccessController . |
Modifier and Type | Method and Description |
---|---|
static MethodConstant.CanCache |
MethodConstant.of(MethodDescription.InDefinedShape methodDescription)
Creates a stack manipulation that loads a method constant onto the operand stack.
|
static MethodConstant.CanCache |
MethodConstant.ofPrivileged(MethodDescription.InDefinedShape methodDescription)
Creates a stack manipulation that loads a method constant onto the operand stack using an
java.security.AccessController . |
protected MethodConstant.CanCache |
MethodConstant.withPrivilegedLookup()
Returns a method constant that uses an
java.security.AccessController to look up this constant. |
Copyright © 2014–2024. All rights reserved.