public static interface MethodConstant.CanCache extends StackManipulation
MethodConstant that is
directly loaded onto the operand stack without caching the value. Since the look-up of a Java method bares
some costs that sometimes need to be avoided, such a stack manipulation offers a convenience method for
defining this loading instruction as the retrieval of a field value that is initialized in the instrumented
type's type initializer.StackManipulation.AbstractBase, StackManipulation.Compound, StackManipulation.Illegal, StackManipulation.Simple, StackManipulation.Size, StackManipulation.Trivial| Modifier and Type | Method and Description |
|---|---|
StackManipulation |
cached()
Returns this method constant as a cached version.
|
apply, isValidStackManipulation cached()
Copyright © 2014–2023. All rights reserved.